Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 9b13171

Browse files
committed
v2.0.5
1 parent 873918f commit 9b13171

3 files changed

Lines changed: 26 additions & 9 deletions

File tree

LanguageServer/LanguageServer.csproj

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,19 @@
44
<TargetFramework>netstandard1.3</TargetFramework>
55
<Description>A library to handle Language Server Protocol (https://github.com/Microsoft/language-server-protocol).</Description>
66
<Company />
7-
<Copyright>Copyright © 2017 INOMATA Kentaro</Copyright>
8-
<AssemblyVersion>2.0.4.0</AssemblyVersion>
7+
<Copyright>Copyright © 2018 Kentaro Inomata</Copyright>
8+
<AssemblyVersion>2.0.5.0</AssemblyVersion>
9+
<Authors>Kentaro Inomata</Authors>
10+
<PackageId>LanguageServerProtocol</PackageId>
11+
<Product>LanguageServerProtocol</Product>
12+
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
13+
<PackageProjectUrl>https://github.com/matarillo/LanguageServerProtocol</PackageProjectUrl>
14+
<RepositoryUrl>https://github.com/matarillo/LanguageServerProtocol.git</RepositoryUrl>
15+
<RepositoryType>git</RepositoryType>
16+
<PackageTags>LanguageServerProtocol language-server-protocol IDE compiler-service vscode omnisharp</PackageTags>
17+
<PackageReleaseNotes>v2.0.0: Add ServiceConnection.&#xD;&#xA;v1.0.0: initial release.</PackageReleaseNotes>
18+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
19+
<Version>2.0.5</Version>
920
</PropertyGroup>
1021

1122
<ItemGroup>

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ PM> Install-Package LanguageServerProtocol
1414

1515
## Usage
1616

17-
- Define a connection class derived from `LanguageServer.ServiceConnection`.
18-
- To handle messages from client to server, override virtual methods.
17+
`LanguageServer.Connection` is available.
18+
19+
- To handle messages from client to server, call `connection.RequestHandlers.Set` method and/or `connection.NotificationHandlers.Set` method to register handler methods.
1920
- To handle messages from server to client, call methods of `LanguageServer.Client.ClientProxy`, `LanguageServer.Client.WindowProxy`, `LanguageServer.Client.WorkspaceProxy`, and `LanguageServer.Client.TextDocumentProxy` classes via `Proxy` property of the connection.
2021
- To start listening, call `Listen()` method of the connection.
22+
23+
For your convenience, `LanguageServer.ServiceConnection` is also available.
24+
25+
- Define a connection class derived from `LanguageServer.ServiceConnection`.
26+
- To handle messages from client to server, override virtual methods.

nuget/LanguageServerProtocol.nuspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>LanguageServerProtocol</id>
5-
<version>2.0.4</version>
5+
<version>2.0.5</version>
66
<title>LanguageServerProtocol</title>
7-
<authors>Kentaro INOMATA</authors>
8-
<owners>Kentaro INOMATA</owners>
9-
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
7+
<authors>Kentaro Inomata<</authors>
8+
<owners>Kentaro Inomata<</owners>
9+
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl>
1010
<projectUrl>https://github.com/matarillo/LanguageServerProtocol</projectUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>A library to handle Language Server Protocol (https://github.com/Microsoft/language-server-protocol).</description>
1313
<releaseNotes>v2.0.0: Add ServiceConnection.&#xD;&#xA;v1.0.0: initial release.</releaseNotes>
14-
<copyright>Copyright © 2017 INOMATA Kentaro</copyright>
14+
<copyright>Copyright © 2018 Kentaro Inomata<</copyright>
1515
<tags>LanguageServerProtocol language-server-protocol IDE compiler-service vscode omnisharp</tags>
1616
<dependencies>
1717
<group targetFramework="netstandard1.3">

0 commit comments

Comments
 (0)