See the below VSCode Intelisence auto-complete while typing "c", It’s always children at first. how do I change to make it so that className is listed as first?
No matter how many time I chose the className, it always suggest children again.
You can change the IntelliSense suggestions in VS code by modifying the editor.suggestSelection setting.
open user settings
Open VS Code settings by either pressing Ctrl + ,
or by selecting "Preferences: Open User Settings" from the Command Palette (Ctrl + Shift + P).
or from file choose preferences
search for editor.suggestSelection and edit it.
You’ll see the following options in the image
"recentlyUsed" : You will get the option that you have recently used.
"recentlyUsedByPrefix": You will get the option that you frequently use.
2
Answers
Solved it by using
recentlyUsedbyPrefix
option ineditor.suggestSelection
You can change the IntelliSense suggestions in VS code by modifying the editor.suggestSelection setting.
open user settings
Open VS Code settings by either pressing Ctrl + ,
or by selecting "Preferences: Open User Settings" from the Command Palette (Ctrl + Shift + P).
or from file choose preferences
search for editor.suggestSelection and edit it.
You’ll see the following options in the image
"recentlyUsed" : You will get the option that you have recently used.
"recentlyUsedByPrefix": You will get the option that you frequently use.
I hope this helps.