Skip to content

Instantly share code, notes, and snippets.

@data-enhanced
Last active October 3, 2020 03:18
Show Gist options
  • Save data-enhanced/b0677a1570dba4fb8d7c54fd704e1078 to your computer and use it in GitHub Desktop.
Save data-enhanced/b0677a1570dba4fb8d7c54fd704e1078 to your computer and use it in GitHub Desktop.
Turn off autocompletion (intellisense) in MS Visual Studio Code
// Turn off autocomplete in Visual Studio Code
// http://code.visualstudio.com/
// Add the following lines to user settings
// OPTIONAL WORD WRAPPING
// Controls if lines should wrap. The lines will wrap at min(editor.wrappingColumn, viewportWidthInColumns).
"editor.wordWrap": true,
// Controls the indentation of wrapped lines. Can be one of 'none', 'same' or 'indent'.
"editor.wrappingIndent": "indent",
// TURN OFF AUTOCOMPLETION
// Controls if quick suggestions should show up or not while typing
"editor.quickSuggestions": false,
// Controls the delay in ms after which quick suggestions will show up
"editor.quickSuggestionsDelay": 90,
// Enables parameter hints
"editor.parameterHints": false,
// Controls if the editor should automatically close brackets after opening them
"editor.autoClosingBrackets": false,
// Controls if the editor should automatically format the line after typing
"editor.formatOnType": false,
// Controls if suggestions should automatically show up when typing trigger characters
"editor.suggestOnTriggerCharacters": false,
// Controls if suggestions should be accepted 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions.
"editor.acceptSuggestionOnEnter": false
@adiusz
Copy link

adiusz commented Mar 7, 2018

i doesnt work for me -,-

@awagoner
Copy link

The following line is incorrect:
"editor.acceptSuggestionOnEnter": false
Options are:
"on" | "smart" | "off"

@biTe0MuX
Copy link

When you are in settings type editor.quickSuggestions. Then edit in JSON. Where it says place your settings here place this:

{
"window.zoomLevel": 1,
"terminal.integrated.shell.windows": "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "line-thin",
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
}
}

@Yossarian0916
Copy link

thanks, works for me

@fiddybux
Copy link

fiddybux commented Jan 14, 2020

I came here because the code completion is annoying me, and as I'm trying to learn, I personally prefer to type it all out. Setting a delay on the suggestions to 1000ms helped, but it wasn't enough, so full disable is the way forward for me.

You really only need this part:

"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
}

...as long as you place it appropriately (look near the bottom):

{
    "workbench.startupEditor": "newUntitledFile",
    "[python]": {
        
    },
    "workbench.sideBar.location": "left",
    "workbench.colorTheme": "Monokai",
    "workbench.iconTheme": "vscode-icons",
    "window.zoomLevel": 2,
    "editor.minimap.enabled": false,
    "breadcrumbs.enabled": false,
    "editor.renderWhitespace": "all",
    "editor.renderControlCharacters": false,
    "update.showReleaseNotes": false,
    "telemetry.enableCrashReporter": false,
    "telemetry.enableTelemetry": false,
    "workbench.activityBar.visible": false,
    "files.associations": {
        "*.vfl": "vex"
    },
    "window.menuBarVisibility": "toggle",
    "editor.quickSuggestionsDelay": 1000,
    
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "editor.quickSuggestions": {
    "other": false,
    "comments": false,
    "strings": false
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment