百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

csharp-language-server-protocol

> 开发工具
开源

C# 中的语言服务器协议

636 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

C# 中的语言服务器协议

C# Language Server Protocol

This is an implementation of the Language Server Protocol written entirely in C# for .NET.

Getting Started

  1. git clone
  2. run build.ps1 / build.sh
  3. ...
  4. 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.Configuration for common configuration
  • Microsoft.Extensions.DependencyInjection for common Dependency Injection abstractions
  • Microsoft.Extensions.Logging for 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

github-release-badge github-license-badge codecov-badge

Azure Pipelines GitHub Actions
azurepipelines-badge github-badge
azurepipelines-history-badge github-history-badge
Package NuGet
OmniSharp.Extensions.DebugAdapter nuget-version-hefb6om79mfg-badgenuget-downloads-hefb6om79mfg-badge
OmniSharp.Extensions.DebugAdapter.Client nuget-version-94qjnkon/cda-badgenuget-downloads-94qjnkon/cda-badge
OmniSharp.Extensions.DebugAdapter.Proposals nuget-version-ajdnjvhbx+0w-badgenuget-downloads-ajdnjvhbx+0w-badge
OmniSharp.Extensions.DebugAdapter.Server nuget-version-f/4jrt4grmdg-badgenuget-downloads-f/4jrt4grmdg-badge
OmniSharp.Extensions.DebugAdapter.Shared nuget-version-2fkn0yzdbhmg-badgenuget-downloads-2fkn0yzdbhmg-badge
OmniSharp.Extensions.DebugAdapter.Testing nuget-version-jppuysmkpfcw-badgenuget-downloads-jppuysmkpfcw-badge
OmniSharp.Extensions.JsonRpc nuget-version-a1bmkwyotvkg-badgenuget-downloads-a1bmkwyotvkg-badge
OmniSharp.Extensions.JsonRpc.Generators nuget-version-m6majhsjiw1q-badgenuget-downloads-m6majhsjiw1q-badge
OmniSharp.Extensions.JsonRpc.Testing nuget-version-punkj7/efvjq-badgenuget-downloads-punkj7/efvjq-badge
OmniSharp.Extensions.LanguageClient nuget-version-fclou9t/p2ba-badgenuget-downloads-fclou9t/p2ba-badge
OmniSharp.Extensions.LanguageProtocol nuget-version-vddj9t6jnirq-badgenuget-downloads-vddj9t6jnirq-badge
OmniSharp.Extensions.LanguageProtocol.Proposals nuget-version-z5fadevkwpng-badgenuget-downloads-z5fadevkwpng-badge
OmniSharp.Extensions.LanguageProtocol.Testing [![nuget-version-md8c3c/bo/8g-badge]![nuget-downloads-md8c3c/bo/8g-badge]][nuget-md8c3c/bo/8g]
OmniSharp.Extensions.LanguageServer [![nuget-version-fkxlzvrmzpbw-badge]![nuget-downloads-fkxlzvrmzpbw-badge]][nuget-fkxlzvrmzpbw]
OmniSharp.Extensions.LanguageServer.Shared [![nuget-version-4htmykprzq1a-badge]![nuget-downloads-4htmykprzq1a-badge]][nuget-4htmykprzq1a]

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#csharpdotnetlanguage-clientlanguage-server

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具