Use new Roslyn Completion List API for IntelliSense
See original GitHub issueInternal, but much better. Handles keywords, snippets, named parameters, object initializer etc.
var completionService = new CSharpCompletionService();
var t = await completionService.GetGroupsAsync(document, position, new mca.Completion.CompletionTriggerInfo(), completionService.GetDefaultCompletionProviders(), new CancellationToken());
Issue Analytics
- State:
- Created 9 years ago
- Reactions:4
- Comments:24 (16 by maintainers)
Top Results From Across the Web
Simple code completion sample in Roslyn
I'd like to get started with code completion in Roslyn but could not find any simple examples that show how to do code...
Read more >Using Roslyn C# Completion Service programmatically
I am involved in a few open source projects built around the Roslyn compiler. One of those projects is OmniSharp, which brings intellisense...
Read more >Roslyn analyzers and code-aware libraries for ...
Open a new line in this method and type "context." to see an IntelliSense completion list. You can see in the completion list...
Read more >How to debug game code with Roslyn Analyzers
Roslyn analyzers build on the suggestions, completions, and information about available APIs provided by IntelliSense with additional tools to analyze and ...
Read more >C# programming with Visual Studio Code
Visual Studio Code uses the power of Roslyn and C# Dev Kit to offer an ... GitHub Copilot is an AI-powered code completion...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This was implemented in Roslyn with #8170. A public completion API is now available. I’ll own integrating it in OmniSharp.
Would like to see the full completion, and ideally even with some way to configure additional completion providers exported somehow to OmniSharp 😃