防止在 Visual Studio Code 中自动完成 [英] Prevent autocomplete in Visual Studio Code

查看:21
本文介绍了防止在 Visual Studio Code 中自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用新的 Visual Studio Code,这显然还没有准备好迎接黄金时段,但我希望能解决我遇到的问题.

I'm using the new Visual Studio Code, which is clearly not ready for prime time yet, but I'm hoping to resolve a problem I'm having.

在 SQL 文件中,任何时候您键入 case,它都会自动添加 end,就像你在构建一个 case 块.即使您在评论中,或使用 Case 作为单词的一部分(例如,select CaseID from...).

In a SQL file, any time you type case, it automatically adds end, as if you were building a case block. Even if you're in a comment, or using Case as part of a word (for example, select CaseID from...).

我想完全禁用所有这些废话,因为它不能很好地为我自动完成事情.

I'd like to disable all of that nonsense completely, since it doesn't do a good job of auto completing things for me.

我能找到的唯一配置选项,我已经设置了:

The only configuration options I can find, I've already set:

"editor.autoClosingBrackets": false,
"editor.suggestOnTriggerCharacters": false,

我还能做些什么来阻止这种情况?

What else can I do to stop this?

对于 begin 之类的东西也是如此(它添加了 end),我相信还有更多.

It is also true for things like begin (it adds end), and I'm sure lots more.

推荐答案

在最新版本的 Visual Studio Code 中,我发现

In the most recent version of Visual Studio Code I've found out that the

"editor.acceptSuggestionOnCommitCharacter": false

配置禁用此行为.

这篇关于防止在 Visual Studio Code 中自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆