按下“ Enter”之后自动替换。在VS代码中
我正在使用vs Code
在lua
中编写代码,有时在我键入一些有意义的单词时,例如:
"false" , "true" , "else" , "end" , "break" and many others ...
在我按[Enter]进入下一行之后,编辑器替换我在lua
和lua
插件中键入的单词... 例如,当我键入:true
时 然后,我按Enter Enter替换getThisResource
是我的一个插件。 每次键入单词后,我都必须在进入下一行之前按[空间],以使我写的单词不会更改。 有人知道如何在vs code
中禁用此选项吗?
Im using VS CODE
to write codes in Lua
and sometimes when I typed some meaningful words like :
"false" , "true" , "else" , "end" , "break" and many others ...
after I press [Enter] to go to the next line , the the editor replaces the word that I typed with something else in Lua
and The Lua
plugins that I installed before...
for example when I type : true
and I press enter the editor replaces getThisResource
which is from one of my plugins.
and every time after I typed a word , I have to press [Space] before going to The next line So that the word I wrote does not change.
does anyone know how to disable this option for all of the languages in VS CODE
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我一个人发现。
解决方案是将Enter 上的
编辑器接受为“关闭”
或在
settings.json
中添加此行:I found out by myself.
The solution is to set the
Editor Accept Suggestions on Enter
to "off"or add this Line in
Settings.json
: