Search code examples
javascriptvisual-studio-codeintellisenseautosuggest

How to sort autosuggestions in VS Code (intellisense)?


I use VS Code for daily basis work but it's a bit irritating that autosuggestions are placed "randomly" in the list, like on .gif below.

At the top are displayed snippets from Reactjs code snippets plugin and the most important in this case props are displayed at the bottom of the list, I mean:

children
exact
from
key
path 
// etc

Is there any way to configure VS Code to display autosuggestions in specific order?

I've found that VS Code has specific property for snippetSuggestions but it hasn't helped, from my settings:

"editor.snippetSuggestions": "top",

GIF which shows the problem

OS, versions

vs code 1.14.2
macOS 10.12.5

Solution

  • In the settings, try :

    {
      "editor.snippetSuggestions": "top"
    }