I\'m using the new Visual Studio Code, which is clearly not ready for prime time yet, but I\'m hoping to resolve a problem I\'m having.
In a SQL file, any time you ty
In the current version of Visual Studio Code, add this to your user settings:
"editor.quickSuggestions.other": false
This disables most of the spurious suggestions.
By 2016, Visual Studio Code is pretty cool and ready for prime time. But I still haven't found a way to simply turn off autocompletion completely.
But they do have some things in their documentation: Customizing IntelliSense
Basically, I put this in my settings.json
to try and turn it off for the workspace. But I still have to evaluate this.
// Place your settings in this file to overwrite default and user settings.
{
// Controls if quick suggestions should show up while typing
"editor.quickSuggestions": { "other": false, "comments": false, "strings": false },
// Controls if suggestions should be accepted with "Enter" - in addition to "Tab". Helps to avoid ambiguity between inserting new lines and accepting suggestions.
"editor.acceptSuggestionOnEnter": "off",
// Controls the delay in ms after which quick suggestions will show up.
"editor.quickSuggestionsDelay": 10,
// Enable word based suggestions
"editor.wordBasedSuggestions": false
}
This isn't the correct answer, but it might be an even better option. Increase:
Editor: Quick Suggestions Delay
from 50 ms (default) to 500-1000 ms.
In this case, you'll have half a second to beat the autocomplete option, which may be enough for 95% of the time, and you won't lose the functionality that you might want in some cases.
Reiterating the answer to make it easy for people skimming: Open your settings with ⌘ + , or Ctrl + ,.
{
"editor.quickSuggestions": false
}
In the most recent version of Visual Studio Code I've found out that the
"editor.acceptSuggestionOnCommitCharacter": false
configuration disables this behavior.
I made this change for version 1.22.1:
"editor.wordBasedSuggestions": false
This is preventing completion of a word which has already occurred.
Do the above changes in user settings, which can be found under menu File → Preferences → Settings.