Initial commit of SqlTools Service API

This commit is contained in:
Karl Burtram
2016-07-15 11:02:03 -07:00
parent 874ade9001
commit 790825cfab
112 changed files with 9782 additions and 1 deletions

20
ServiceHost/Program.cs Normal file
View 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();
}
}
}