English 中文(简体)
防止《演进室视觉守则》的自动完成
原标题:Prevent autocomplete in Visual Studio Code

https://www.udio.com/en-us/products/code-vs.aspx”rel=“noreferer” 视觉演播室法。

在一份档案中,任何时间,如ca><e,如您正在建立<>条码>/条码>,自动添加<条码>。 即便是用评论或使用<代码> Case as part of a term (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?

b,e,g,>>> (单位:end>,Im 当然会增加。

最佳回答

在最近版本的《电影院视觉守则》中,我发现:

"editor.acceptSuggestionOnCommitCharacter": false

组合使这种行为不可行。

问题回答

到2016年,视觉演播室 《刑法》相当冷却,并随时可用。 但是,我仍然找不到一种办法,简单地完全放弃自治。

But they do have some things in their documentation: Customizing IntelliSense

基本上,我在<条码>上将这一点放在“......json 上,尝试并把它留给工作空间。 但我仍然必须对此进行评价。

// Place your settings in this file to overwrite default and user settings.
{
    // Controls if quick suggestions should show up while typing
    "editor.quickSuggestions": { "other": false, "comments": false, "strings": false },

    // Controls if suggestions should be accepted with "Enter" - in addition to "Tab". Helps to avoid ambiguity between inserting new lines and accepting suggestions.
    "editor.acceptSuggestionOnEnter": "off",

    // Controls the delay in ms after which quick suggestions will show up.
    "editor.quickSuggestionsDelay": 10,

    // Enable word based suggestions
    "editor.wordBasedSuggestions": false
}

截至2019年至5月17日,这为我工作。

"editor.acceptSuggestionOnCommitCharacter": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.hover.enabled": false,
"editor.minimap.enabled": false,
"editor.parameterHints.enabled": false,
"editor.quickSuggestions": false,
"editor.quickSuggestionsDelay": 10,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestOnTriggerCharacters": false,
"editor.wordBasedSuggestions": false,

这没有正确的答案,但可能是一个更加美好的选择。 增加:

编辑:Quick Recommendations Delay

从50ms到500-1,000ms。

在此情况下,你有半半选择接受汽车修理,这或许足以达到95%的时间,而且你有时会失去你可能想要的功能。

在目前版本的《演播室视觉守则》中,在用户环境中添加:

"editor.quickSuggestions.other": false

This disables most of the spurious suggestions.

Add this to settings.json

"editor.suggestOnTriggerCharacters": false,

I disabled mine by going to Settings > Text Editor > Suggestions > Inline Suggest: Enabled and unticking the box.

(最新) 这超出了语言背景的表述,因此,你做了新的改动。 该员额表明如何对柏柏油文本提出不可行的建议,但你可以采取步骤改变所有语文的设置。 如何在平原文件中提出可辨读的录音室编码下降建议

Examples

目前的解决办法是:

"editor.suggest.showClasses": false,
"editor.suggest.showColors": false,
"editor.suggest.showConstants": false,
"editor.suggest.showConstructors": false,
"editor.suggest.showCustomcolors": false,
"editor.suggest.showDeprecated": false,
"editor.suggest.showEnumMembers": false,
"editor.suggest.showEnums": false,
"editor.suggest.showEvents": false,
"editor.suggest.showFields": false,
"editor.suggest.showFiles": false,
"editor.suggest.showFolders": false,
"editor.suggest.showFunctions": false,
"editor.suggest.showInterfaces": false,
"editor.suggest.showIssues": false,
"editor.suggest.showKeywords": false,
"editor.suggest.showMethods": false,
"editor.suggest.showModules": false,
"editor.suggest.showOperators": false,
"editor.suggest.showProperties": false,
"editor.suggest.showReferences": false,
"editor.suggest.showSnippets": false,
"editor.suggest.showStructs": false,
"editor.suggest.showTypeParameters": false,
"editor.suggest.showVariables": false,
"editor.suggest.showValues": false,
"editor.suggest.showWords": false,
"editor.suggest.showUsers": false,
"editor.suggest.showUnits": false,

// controls bracket auto closing
"editor.autoClosingBrackets": "never",

// controls  specific languages tag auto closing
"html.autoClosingTags": false,
"javascript.autoClosingTags": false,
"typescript.autoClosingTags": false

Disable "Visual Studio IntelliCode" extension while working on SQL files. This might be a better option than changing settings that are useful for other files.

注: 开放dings.json , page Pviss: Openuser Cons (JSON) in the "editor.suggestOnTriggerCharacters": false, "editor.quickSuggestions": { "other": "off", "comments": "off", "strings": "off" }, "[dockerfile][json][json]": { // check defaultSettings.json or Settings UI to see which languages override editor.quickSuggestions and add them to the above list. "editor.quickSuggestions": { "other": "off", "comments": "off", "strings": "off" }, },

To unbind default keybindings that trigger suggestions:

这些变化可能会在未来发生变化。 你们可以在违约的Key约束力中寻找这些指挥身份。 json to see what they are subject to. 在主要具有约束力的文书中规定如下。 json:

{
    "key": "ctrl+i",
    "command": "-editor.action.triggerSuggest",
},
{
    "key": "cmd+i",
    "command": "-editor.action.triggerSuggest",
},
{
    "key": "ctrl+space",
    "command": "-editor.action.triggerSuggest",
},
{
    "key": "cmd+space",
    "command": "-editor.action.triggerSuggest",
},
// editor.action.inlineSuggest.trigger currently not bound to anything by default

See also

"editor.inlineSuggest.enabled": false,
"editor.suggest.preview": false,
// "editor.inlineSuggest.suppressSuggestions": false
"editor.snippetSuggestions": "none",
"editor.wordBasedSuggestions": "off",
"editor.suggest.show*": true,

"debug.console.historySuggestions": false,
"terminal.integrated.shellIntegration.suggestEnabled": false,
"workbench.commandPalette.experimental.suggestCommands": false,

To prevent automatic pairings

由于问题员额提到<编码>case,导致end<>/code>在座,也见到这些背景,或寻找在地盘上“自动登记”。

"editor.occurrencesHighlight": "multiFile",
"editor.autoClosingBrackets": "never",
"editor.autoClosingComments": "never",
"editor.autoClosingOvertype": "never",
"editor.autoClosingQuotes": "never",
"html.autoClosingTags": false,
"javascript.autoClosingTags": false,
"typescript.autoClosingTags": false,

请注意,你仍然能够提出来自指挥区的建议和线性建议。





相关问题
VS Code run selection in terminal creating multiple shells

Running selection/line in terminal (shift + enter) started creating opening two shells. The first shell runs commands to activate the environment and start python. The second shell runs the python ...

从案卷中获取简单明朗戈功能——现在可以提供

如果你想到,在纽瓦特被点击之后,如何把服务器的辅助功能从javascript文档中打上下面的几页。 你们必须利用吉大港山区开发计划的要求,把服务器的侧端点称作终端点。 ......

在《科索沃法典》中是否有办法进行沙尘处理

目前,开始学习基因图像处理,我希望在民主选举学会之外使用这种图像,使之更容易编码,因为在处理民主选举学会时,没有很好地掌握合成物的错误。 I ......

Rust Visual Studio Code code completion not working

I m trying to learn Rust and installed the Rust extension for VSCode. But I m not seeing auto-completions for any syntax. I d like to call .trim() on String but I get no completion for it. I read that ...