OneWare.OmniSharp.Extensions.LanguageProtocol
1.0.1
dotnet add package OneWare.OmniSharp.Extensions.LanguageProtocol --version 1.0.1
NuGet\Install-Package OneWare.OmniSharp.Extensions.LanguageProtocol -Version 1.0.1
<PackageReference Include="OneWare.OmniSharp.Extensions.LanguageProtocol" Version="1.0.1" />
<PackageVersion Include="OneWare.OmniSharp.Extensions.LanguageProtocol" Version="1.0.1" />
<PackageReference Include="OneWare.OmniSharp.Extensions.LanguageProtocol" />
paket add OneWare.OmniSharp.Extensions.LanguageProtocol --version 1.0.1
#r "nuget: OneWare.OmniSharp.Extensions.LanguageProtocol, 1.0.1"
#:package OneWare.OmniSharp.Extensions.LanguageProtocol@1.0.1
#addin nuget:?package=OneWare.OmniSharp.Extensions.LanguageProtocol&version=1.0.1
#tool nuget:?package=OneWare.OmniSharp.Extensions.LanguageProtocol&version=1.0.1
C# Language Server Protocol
This is an implementation of the Language Server Protocol written entirely in C# for .NET.
OneWare fork
This fork is published on NuGet under the OneWare. prefix, built against .NET 10 with full LSP 3.17/3.18 coverage.
| Upstream package | OneWare package |
|---|---|
OmniSharp.Extensions.LanguageProtocol |
OneWare.OmniSharp.Extensions.LanguageProtocol |
OmniSharp.Extensions.LanguageClient |
OneWare.OmniSharp.Extensions.LanguageClient |
OmniSharp.Extensions.LanguageServer |
OneWare.OmniSharp.Extensions.LanguageServer |
OmniSharp.Extensions.JsonRpc |
OneWare.OmniSharp.Extensions.JsonRpc |
Only the package ids change. Assembly names, namespaces, public API and the strong name key are identical to upstream, so migrating is a one-line change:
<PackageReference Include="OneWare.OmniSharp.Extensions.LanguageClient" Version="1.0.0" />
<PackageReference Include="OneWare.OmniSharp.Extensions.LanguageProtocol" Version="1.0.0" />
Target frameworks: netstandard2.0, netstandard2.1, net8.0, net10.0.
Releasing
Push a v* tag (or run the release workflow manually) and
.github/workflows/release.yml builds, tests, packs and pushes to
nuget.org. It requires a NUGET_API_SECRET repository secret.
git tag v1.0.0 && git push origin v1.0.0
Getting Started
- git clone
- run
build.ps1/build.sh - ...
- Profit
Concepts
JSON-RPC
We have an implementation of JSON-RPC designed to implement the JSON-RPC as correctly as possible.
For more information about using the JsonRpcServer on it's own here.
MediatR
Internally this library revolves around the request and response model. To make things easier we use MediatR as core piece that manages how requests and responses are handled.
Microsoft.Extensions.*
We re-use some of the common packages used by .NET Core.
Microsoft.Extensions.Configurationfor common configurationMicrosoft.Extensions.DependencyInjectionfor common Dependency Injection abstractionsMicrosoft.Extensions.Loggingfor logging.
Language Server Protocol
We strive to ensure that we implement all the types, request and notifications that are defined by the Language Server Protocol. Sometimes this is difficult due to the nature of LSP TypeScript upbringing, but the goal is 100% conformance with the protocol itself.
For more information about using the LanguageClient / LanguageServer on it's own here.
Debug Adapter Protocol
We strive to ensure that we implement all the types, events and requests that are defined by the Debug Adapter Protocol.
For more information about using the DebugAdapterClient / DebugAdapterServer on it's own here.
Status
| Azure Pipelines | GitHub Actions |
|---|---|
License
Copyright © .NET Foundation, and contributors.
OmniSharp is provided as-is under the MIT license. For more information see LICENSE.
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
Contribution License Agreement
By signing the CLA, the community is free to use your contribution to .NET Foundation projects.
.NET Foundation
This project is supported by the .NET Foundation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
- OneWare.OmniSharp.Extensions.JsonRpc (>= 1.0.1)
- OneWare.OmniSharp.Extensions.JsonRpc.Generators (>= 1.0.1)
-
.NETStandard 2.1
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
- OneWare.OmniSharp.Extensions.JsonRpc (>= 1.0.1)
- OneWare.OmniSharp.Extensions.JsonRpc.Generators (>= 1.0.1)
-
net10.0
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
- OneWare.OmniSharp.Extensions.JsonRpc (>= 1.0.1)
- OneWare.OmniSharp.Extensions.JsonRpc.Generators (>= 1.0.1)
-
net8.0
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
- OneWare.OmniSharp.Extensions.JsonRpc (>= 1.0.1)
- OneWare.OmniSharp.Extensions.JsonRpc.Generators (>= 1.0.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on OneWare.OmniSharp.Extensions.LanguageProtocol:
| Package | Downloads |
|---|---|
|
OneWare.Essentials
Essentials Needed for One Ware Plugin Development |
|
|
OneWare.OmniSharp.Extensions.LanguageServer.Shared
Shared classes for language server protocol |
|
|
OneWare.OmniSharp.Extensions.LanguageClient
You can use this package to interact with a Language Server using the language server protocol |
|
|
OneWare.OmniSharp.Extensions.LanguageServer
You can use this package to create a language server, that will be consumed by many clients |
GitHub repositories
This package is not used by any popular GitHub repositories.