最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to turn off the auto-complete of Intellisense on VS Code when coding '(' after function - Stack

programmeradmin1浏览0评论

I use VS Code, and I'm writing JavaScript.

I want to turn off auto-plete, when I'm writing a function. Intellisense suggests some candidates while I write a new function.

And, I finish writing function name and input '(' Key, Intellisense replaces my function name with the top of the list of candidates automatically. But I don't want to write new function. I don't want my code replaced when I push '(' Key. (Of course, I haven't push Enter or Tab key or other keys then.)

I have already tried turn off the suggestion.

”editor.quickSuggestions”:  false

But this option doesn't suits for me. I use suggestions and auto-plete.

Please tell me what setting is suitable.

I use VS Code, and I'm writing JavaScript.

I want to turn off auto-plete, when I'm writing a function. Intellisense suggests some candidates while I write a new function.

And, I finish writing function name and input '(' Key, Intellisense replaces my function name with the top of the list of candidates automatically. But I don't want to write new function. I don't want my code replaced when I push '(' Key. (Of course, I haven't push Enter or Tab key or other keys then.)

I have already tried turn off the suggestion.

”editor.quickSuggestions”:  false

But this option doesn't suits for me. I use suggestions and auto-plete.

Please tell me what setting is suitable.

Share Improve this question edited May 20, 2021 at 2:05 Bergi 667k161 gold badges1k silver badges1.5k bronze badges asked May 20, 2021 at 1:38 Vscode-settingVscode-setting 431 silver badge4 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

On Windows/Linux - Ctrl + Shift + P

On MacOS - Cmd + Shift + P

In the search box type settings.json

paste the following line there

"editor.acceptSuggestionOnCommitCharacter": false

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论