Currently /autocomplete returns a list of symbols ... but only after a '.'
Also we don't get any parameter information or 'snippets'
We're currently missing keywords such as public, private, await, linq keywords etc.
Also we need Console.WL to complete WriteLine
Attributes should complete without the word attribute, e.g. [Fact] vs [FactAttribute]
/cc @Pilchie
I'm not sure if this makes any sense by parameter intellisense? Maybe we need to expand the response type to support parameter intellisense for method invocations
Vs treats these at two separate features - completion and signature help. Some other editors (_cough_ eclipse _cough_) merge them into a single list. I wonder if there shouldn't be a separate endpoint for returning overload info for VS like clients. At the same time, this response probably does need more info to enable eclipse style presentation before a symbol name is chosen.
From: David Fowlermailto:[email protected]
Sent: ‎12/‎22/‎2014 6:16 PM
To: OmniSharp/omnisharp-roslynmailto:[email protected]
Cc: Kevin Pilch-Bissonmailto:[email protected]
Subject: Re: [omnisharp-roslyn] Better code completions (#7)
I'm not sure if this makes any sense by parameter intellisense? Maybe we need to expand the response type to support parameter intellisense for method invocations
Reply to this email directly or view it on GitHub:
https://github.com/OmniSharp/omnisharp-roslyn/issues/7#issuecomment-67915425
Lets have separate endpoint then. We should allow editors to do both the VS approach and the snippet approach.
Created a separate ticket for snippets https://github.com/OmniSharp/omnisharp-roslyn/issues/38
Need to order completions like this :-
* Completions are ranked in the following order
* Exact start match (case sensitive)
* Exact start match (case insensitive)
* CamelCase completions
* Subsequence match completions
Is there any updates with attributes autocomplete? Suffix "Attribute" is really annoying.
@nosami wrote on Dec 23, 2014:
Attributes should complete without the word attribute, e.g.[Fact]vs[FactAttribute]
Resolved by #840
Most helpful comment
Is there any updates with attributes autocomplete? Suffix "Attribute" is really annoying.