Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code intellisense showing one suggestion at any time

Normally when I used to type in my VSCode editor, the intellisense showed all the possible suggestions for the entered query.

However, now as I type, only one suggestion is shown that best matches the query.

For instance, when I type in b, the intellisense just shows a suggestion for the HTML <b> element — not a list of suggestions including tags such as <button>.

Is there any way to change this? I have searched a lot of the net but couldn't find any sort of help.

like image 428
coderboy Avatar asked Nov 11 '20 15:11

coderboy


People also ask

How do I fix VS code IntelliSense?

Troubleshooting# If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve the issue. If you are still missing IntelliSense features after installing a language extension, open an issue in the repository of the language extension.

How do I turn off auto suggestions on VSCode?

“Tools” > “Options” > “Text Editor” > “All Languages” > “General” > “Automatic brace completion“.

Why is VSCode suggestions not working?

Why is VS Code suggestions not working? If you're coding in JavaScript or TypeScript and finds that VSCode IntelliSense does work but does not behave properly, it's likely that you've selected the wrong language mode. TypeScript and JavaScript share the same language service, so you need to select the right language.


1 Answers

VS Code 1.51 made the list of suggestions resizable so it's possible your suggest widget is simply shrunken down to be a single line high.

To fix this, trigger suggestions and then click and drag at the bottom edge of the suggest widget to increase the number of visible suggestions.

Resizing the suggest widget

Note that you can always use the arrow keys to navigate through suggestions, even if only one suggestion is visible. Use this to check if the widget is simply too small or if there really is only one suggestion

like image 138
Matt Bierner Avatar answered Oct 06 '22 06:10

Matt Bierner