禁用自动完成.VSCode 中的(点) [英] Disable Autocomplete on . (dot) in VSCode
本文介绍了禁用自动完成.VSCode 中的(点)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
示例:尝试输入return res.data"
Example: trying to type "return res.data"
输入 .它会自动完成以返回 resizeBy".
after typing the . it autocompletes to "return resizeBy."
已经在进入时关闭了自动完成,并且不想完全关闭editor.quickSuggestions",因为我仍然喜欢即将出现的菜单(只是不要接管太多).在网上根本找不到关于此的太多信息 - 欢呼!
Have already turned off autocomplete on enter, and don't want to turn off "editor.quickSuggestions" completely as I still like the menu coming up (just not taking over too much). Can't find very much about this online at all - cheers!
推荐答案
把它放在你的 'settings.json' 文件中:
place this in your 'settings.json' file :
"editor.acceptSuggestionOnCommitCharacter": false,
打开settings.json"文件:
To open 'settings.json' file:
- cmd + 或 ctrl + ,
- 向下滚动,直到看到文件:关联"
- 点击在 settings.json 中编辑"
- 粘贴上面的代码并保存.
这篇关于禁用自动完成.VSCode 中的(点)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文