Prevent autocomplete in Visual Studio Code

Joe Enos picture Joe Enos · Oct 2, 2015 · Viewed 61.2k times · Source

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 type case, it automatically adds end, as if you were building a case block. Even if you're in a comment, or using Case as part of a word (for example, select CaseID from...).

I'd like to disable all of that nonsense completely, since it doesn't do a good job of auto completing things for me.

The only configuration options I can find, I've already set:

"editor.autoClosingBrackets": false,
"editor.suggestOnTriggerCharacters": false,

What else can I do to stop this?

It is also true for things like begin (it adds end), and I'm sure lots more.

Answer

shybovycha picture shybovycha · Jun 8, 2018

In the most recent version of Visual Studio Code I've found out that the

"editor.acceptSuggestionOnCommitCharacter": false

configuration disables this behavior.