-
Notifications
You must be signed in to change notification settings - Fork 645
Autocomplete Improvements #990
Comments
Easy fix. Set For the second one, are you saying that the case insensitive options are not showing up or that the case sensitive option is auto selected instead of the case insensitive one? In your example, what would be the desired items in the completion list?
|
@ramya-rao-a thanks very much for that!
The second concern is that the case insensitive option, when it matches a whole word of a different case, should select that option. A gif is worth (1000 * number of frames) words, so here's a gif: Basically, when the final character in I'm not saying this expectation is correct, of course, but it is what I have been trained to expect by other autocomplete systems. |
Got it. That is the behavior of completion item sorting/default-selection/filtering in the core VS Code and extensions don't control it And the exact same concern was raised here: microsoft/vscode#21362 |
Excellent. Thanks for letting me know! |
I don't know how the autocomplete system works, so I'm not sure where this issue should go. I don't know how much influence this package has on the way the autocomplete does its thing.
I have two issues that are driving me insane:
For example, on 1, I have a snippet defined as:
When I type
ere
, I get a huge list of other options and have to scroll to the very bottom to find my snippet. Snippets should always be the first result if what was typed is an exact match for the prefix.As for 2, an example would be:
In this example, were I to type
field
, it would autocomplete and the first (and sometimes only) option would befieldPrivate
. Autocomplete should always select the case-insensitive complete word first.Thoughts?
Thanks!
The text was updated successfully, but these errors were encountered: