Prevent autocomplete in Visual Studio Code

前端 未结 8 2137
臣服心动
臣服心动 2020-11-30 20:48

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.

In a SQL file, any time you ty

8条回答
  •  無奈伤痛
    2020-11-30 21:29

    By 2016, Visual Studio Code is pretty cool and ready for prime time. But I still haven't found a way to simply turn off autocompletion completely.

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

    Basically, I put this in my settings.json to try and turn it off for the workspace. But I still have to evaluate this.

    // 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
    }
    

提交回复
热议问题