簡體   English   中英

如何在 function 之后編碼“(”時關閉 VS Code 上的 Intellisense 自動完成功能

[英]How to turn off the auto-complete of Intellisense on VS Code when coding '(' after function

我使用 VS Code,我正在寫 JavaScript。

當我寫 function 時,我想關閉自動完成功能。 Intellisense 在我編寫新的 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 '(' 鍵。(當然,我當時沒有按 Enter 或 Tab 鍵或其他鍵。)

我已經嘗試關閉該建議。

”editor.quickSuggestions”:  false

但是這個選項不適合我。 我使用建議和自動完成。

請告訴我什么設置是合適的。

在 Windows/Linux 上 - Ctrl + Shift + P

在 MacOS 上 - Cmd + Shift + P

在搜索框中輸入settings.json

將以下行粘貼到那里

"editor.acceptSuggestionOnCommitCharacter": false

在此處輸入圖像描述

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM