Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

editor - Unable to turn off code suggestions in Visual Studio Code

I have following settings.json:

"editor.quickSuggestions": false,
"editor.suggestOnTriggerCharacters": false,
"editor.wordBasedSuggestions": false,
"editor.quickSuggestionsDelay": 1000000

but despite that the code suggestions display immidiately after I write the code like this (javascript):

enter image description here

Other settings in settings.json are adopted properly, e.g. "editor.fontSize": 17.

Here is documentation for the Visual Studio Code IntelliSense where I found the settings above. I use VS Code 1.6.0 on OS X (I experienced it also on previous versions of the editor).

I have all the settings in User Settings settings.json, my Workspace Settings settings.json is empty.

question from:https://stackoverflow.com/questions/39972256/unable-to-turn-off-code-suggestions-in-visual-studio-code

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

1 Reply

0 votes
by (71.8m points)

You turned off code completion correctly. But parameter hints are still active. Turn them off with the following entry in your settings.json:

"editor.parameterHints.enabled": false

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...