From f4b2f8f62f8c27982746d5a89a6303943a976869 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Fri, 23 Aug 2019 14:59:25 -0700 Subject: [PATCH] Update OmniSharp LanguageServer extension package version. #376 --- build/dependencies.props | 2 +- .../BackgroundDocumentGeneratorTest.cs | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/build/dependencies.props b/build/dependencies.props index 9d01b11..d37afd3 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -23,7 +23,7 @@ 1.0.0-preview.1 4.9.0 11.0.2 - 0.10.0 + 0.13.1 1.33.0 4.3.0 0.10.0 diff --git a/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/BackgroundDocumentGeneratorTest.cs b/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/BackgroundDocumentGeneratorTest.cs index 0db4ee2..811397c 100644 --- a/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/BackgroundDocumentGeneratorTest.cs +++ b/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/BackgroundDocumentGeneratorTest.cs @@ -13,6 +13,8 @@ using Microsoft.CodeAnalysis.Razor; using Microsoft.CodeAnalysis.Razor.ProjectSystem; using Microsoft.Extensions.Logging; using Newtonsoft.Json.Linq; +using OmniSharp.Extensions.JsonRpc; +using OmniSharp.Extensions.LanguageServer.Protocol; using OmniSharp.Extensions.LanguageServer.Protocol.Server; using Xunit; @@ -324,6 +326,18 @@ namespace Microsoft.AspNetCore.Razor.LanguageServer public ILanguageServerWorkspace Workspace => throw new NotImplementedException(); + public IDisposable AddHandler(string method, IJsonRpcHandler handler) => throw new NotImplementedException(); + + public IDisposable AddHandler(string method, Func handlerFunc) => throw new NotImplementedException(); + + public IDisposable AddHandler() where T : IJsonRpcHandler => throw new NotImplementedException(); + + public IDisposable AddHandlers(params IJsonRpcHandler[] handlers) => throw new NotImplementedException(); + + public IDisposable AddTextDocumentIdentifier(params ITextDocumentIdentifier[] handlers) => throw new NotImplementedException(); + + public IDisposable AddTextDocumentIdentifier() where T : ITextDocumentIdentifier => throw new NotImplementedException(); + public TaskCompletionSource GetRequest(long id) => throw new NotImplementedException(); public void SendNotification(string method) => throw new NotImplementedException();