Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.6k views
in Technique[技术] by (71.8m points)

vscode settings - Prevent autocomplete in Visual Studio Code

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

"editor.acceptSuggestionOnCommitCharacter": false

configuration disables this behavior.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...