I have been struggling with a really annoying behaviour of Visual Studio Code recently.
Is there a way to disable this? This is really driving me mad... I am using Visual Studio Code 1.59.0 (which should be the latest release at the time of authoring this question).
There could be many causes for this problem, try to: install js extentions If doesn't work try to delete the .vscode folder under your home dir and reinstall vscode, this should solve the problem.
It appears to be an issue introduced in the latest update to VSCode.
I have one laptop running the latest version that is exhibiting the issue. And another laptop that was running an older version and did not exhibit the issue. Upon updating the laptop with the older version to the latest it too now has this annoying bug...
As a temporary fix I just reinstalled version 1.58.2 on my laptops which has resolved the issue. https://code.visualstudio.com/updates/v1_58
As I mentioned in my comment elsewhere, the github issue is Typing repeated dots in js expands to first suggestion.
In that issue a couple of temporary fixes are mentioned:
[You might be able to increase the
quick suggestions delay time as a possible fix, but I can't test that since I can't actually repro this bug on my setup.]
[If you still are facing this problem make sure to upgrade to v1.59.1, which included a fix. If that doesn't fix it for you, file an issue.]
I made a user snippet to work around the issue for now:
Basic but does the job. Just create a snippet and drop it in.
Press ctrl+, (control + comma)
editor.suggest.showWords in the search box
Uncheck the Setting, (It says
When enabled intellisense shows text-suggestions)
Add the line
"editor.suggest.showWords": false in
settings.json, inside the
You can open settings.json by pressing F1, and typing
More information about this issue and the temporary fix can be found here on the github issue on the official vscode repository