question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use new Roslyn Completion List API for IntelliSense

See original GitHub issue

Internal, but much better. Handles keywords, snippets, named parameters, object initializer etc.

https://github.com/dotnet/roslyn/blob/47ff630cc838b56248022c1d494299f35daec474/src/Features/CSharp/Completion/CSharpCompletionService.cs

var completionService = new CSharpCompletionService();
var t = await completionService.GetGroupsAsync(document, position, new mca.Completion.CompletionTriggerInfo(), completionService.GetDefaultCompletionProviders(), new CancellationToken());

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:4
  • Comments:24 (16 by maintainers)

github_iconTop GitHub Comments

6reactions
DustinCampbellcommented, May 11, 2016

This was implemented in Roslyn with #8170. A public completion API is now available. I’ll own integrating it in OmniSharp.

0reactions
kzucommented, Nov 16, 2018

Would like to see the full completion, and ideally even with some way to configure additional completion providers exported somehow to OmniSharp 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found