OmniSharp / OmniSharp/csharp-language-server-protocol

Using LanguageClient in a Visual Studio extension

Open
#1,076 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
638
Forks
109
Avg merge
1m
Merged PRs (30d)
2

Description

Hi folks,

This is more of a question about documentation than anything else.

I am unable to use the Microsoft.VisualStudio.LanguageServer.Client.ILanguageClient implementation in my extension as I need to modify the Client Capabilities.

LanguageClient looks promising as it provides the way to modify the capabilities. However, I am unable to find any documentation/sample that helps me use the client correctly as a Visual Studio extension. I came across https://github.com/tintoy/dotnet-language-client . However, it has so many files and code, I am not sure what is required for creating a simple and minimal language client extension in Visual Studio using Omnisharp. Any documentation links or samples would be greatly helpful. Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the issue's references to Microsoft.VisualStudio.LanguageServer.Client.ILanguageClient, LanguageClient, and the tintoy/dotnet-language-client sample. Clarify the minimal Visual Studio extension setup for Omnisharp and how Client Capabilities are modified. Done means a focused documentation page or sample that answers this use case without requiring the reader to navigate the full sample repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.