mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-20 09:35:38 -05:00
Initial commit of SqlTools Service API
This commit is contained in:
20
ServiceHost/Program.cs
Normal file
20
ServiceHost/Program.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using Microsoft.PowerShell.EditorServices.Protocol.Server;
|
||||
using Microsoft.PowerShell.EditorServices.Session;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceHost
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var hostDetails = new HostDetails("name", "profileId", new Version(1,0));
|
||||
var profilePaths = new ProfilePaths("hostProfileId", "baseAllUsersPath", "baseCurrentUserPath");
|
||||
var languageServer = new LanguageServer(hostDetails, profilePaths);
|
||||
|
||||
languageServer.Start().Wait();
|
||||
|
||||
languageServer.WaitForExit();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user