
It would be awesome if in the moment to bring the intellisense of properties or classes on Typescript and C# or other language we can filter this like the little icons on the bottom of the tooltip as visual studio,
or control + shift + p + @: but for the intellisense.
~Very good idea! Because currently they are all sorted alphabetically. Also, I want to say it makes sense to add config for this.~
~Example:~
function test() {};
const v = 'xo';
~after hitting ctrl + space show at the bottom test and v.~
~It can be called editor.suggestOrder: 'alphabetically' | 'type' | 'file'
alphabetically - can be default as it's right now.
type - based on type like function, class, var, etc.
file - based on file, like in the example at the bottom test and v because they was used in that file.~
~Because currently everything is sorted alphabetically, it's hard to find something in that list which contains so much unnecessary completions.~
Already created and it will be in the new release (1.28) https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/v1_28.md#intellisense-locality-bonus
Likely duplicate of #18639, although this issue is clearer
@mjbvz Let's replace that one with this one then 馃憤
@svipben I like those ideas, but I think this is a must to have, usually I get all mixed including snippets, I can order by Name and the current features but it is not the same enjoying experience as Visual Studio and gets hard to do quick choices.
I would like to try to implement this feature. I've found the directory in which I think I should create this filtering behaviour. I don't know, though, where in particular this feature should reside. It would be best if someone would give a quick high-level overview of suggest folder.
The filtering is pretty easy, everything happens in the _createCachedState-method. Wiring this into the UI is the bigger chunk, @ramya-rao-a and @joaomoreno might be able to help.
But before all of this we should discuss if we actually want this feature in VS Code. So far this feature request hasn't picked up many thumbs-up...
There is already a question on stack overflow about this. It might clutter the suggestion box, though. Maybe we could make this an opt-in feature (like breadcrumbs).
@jrieken I do not think we need a massive number of thumbs up to know what is going to be really useful.
Bump, would really like to see this implemented in the future.
To further expand the tooltip filter idea:
I'm doing C++ dev in VSCode and whenever I want to #include something I get a very big suggestion/IntelliSense list. Among this list are directories and it'd be nice if I could filter on directories as well, so I don't have to search for them among the hundreds of header files.
Without that feature, the Intellisense autocomplete is unuseful when you have a lot of suggestions.
Most helpful comment
@jrieken I do not think we need a massive number of thumbs up to know what is going to be really useful.