Open settings.json and set editor.quickSuggestions to false for other, comments and strings, plus editor.suggestOnTriggerCharacters to false. After that, the IntelliSense dropdown stops opening while you type.
That only covers IntelliSense, though. If GitHub Copilot is installed, the gray ghost text after your cursor answers to a different setting, github.copilot.enable. So it’s pretty common to kill the dropdown and still get inline suggestions.
On a stock install you’re really only flipping one value. The default for editor.quickSuggestions already has comments and strings at false, so “other” is the key that actually changes anything.
Which settings control autocomplete in VS Code?

There isn’t one autocomplete switch. Each suggestion source has its own setting, and turning one off leaves the rest running.
| Suggestion source | Setting | Default | Value that turns it off |
|---|---|---|---|
| IntelliSense while typing | editor.quickSuggestions | other true, comments false, strings false | all three keys false |
| Popup after trigger characters | editor.suggestOnTriggerCharacters | true | false |
| Snippets in the list | editor.snippetSuggestions | “inline” | “none” |
| Words from open files | editor.wordBasedSuggestions | “matchingDocuments” | “off” |
| Copilot ghost text | github.copilot.enable | “*” true; plaintext, markdown and scminput false | “*” false |
Defaults for the first four rows come from the VS Code IntelliSense documentation. The Copilot default is from the VS Code AI settings reference.
Not sure which one is bugging you? Go by what you actually see on screen.
- A dropdown that opens as you type a word comes from editor.quickSuggestions
- If it pops up right after a dot or bracket, look at editor.suggestOnTriggerCharacters
- Gray text after the cursor is Copilot inline suggestions
- The function signature popup inside parentheses is editor.parameterHints.enabled
New to the Settings editor? A short primer on how VS Code settings are organized makes the search box and the JSON view easier to follow.
How to turn off IntelliSense suggestions while typing

You need both changes. quickSuggestions handles the popup that opens mid-word, and suggestOnTriggerCharacters handles the one that shows up after a dot or bracket. Set all three quickSuggestions keys and suggestOnTriggerCharacters to false and the dropdown stops opening on its own.
In the Settings editor (Ctrl+,), search “quick suggestions”. The two entries you want are “Editor: Quick Suggestions” and “Editor: Suggest On Trigger Characters.”
I’d go with settings.json instead. It’s one paste and you’re done.
- Press Ctrl+Shift+P (Shift+Cmd+P on macOS). Run “Preferences: Open User Settings (JSON).”
- Paste the block below inside the outer curly braces.
- Save the file, then type in any editor tab to confirm the popup stays quiet.
"editor.quickSuggestions": { "other": false, "comments": false, "strings": false },
"editor.suggestOnTriggerCharacters": false,
"editor.wordBasedSuggestions": "off",
"editor.snippetSuggestions": "none",
"editor.parameterHints.enabled": falseIf the command does not find your file, this walkthrough on opening settings.json in VS Code lists the paths per operating system.
The comments and strings keys in there are mostly redundant on a stock install, since both are false by default. “Other” is doing the real work.
Watch the shape of the value, too. A gist created in August 2018 sets the option to a plain false. The current documentation uses an object with three keys. Copy from recent sources.
And automatic suggestions being off doesn’t mean suggestions are gone. Ctrl+Space (Control+Space on macOS) still runs editor.action.triggerSuggest, so you can open the list whenever you want it.
Turning off GitHub Copilot inline suggestions
None of the IntelliSense settings above touch Copilot’s gray ghost text. You switch it off from the Copilot menu in the Status Bar or through github.copilot.enable.
Status Bar and settings route
The Status Bar is quicker. Open the Copilot menu and uncheck the inline suggestions options. One of them is per-language, and it applies to whatever language the active editor is in.
In settings, github.copilot.enable takes one entry per language. The “*” value sets every language to true or false at once. You can put it in user settings or workspace settings.
Old community threads use github.copilot.inlineSuggest.enable, and it still shows up in keybinding recipes for toggling Copilot. The current VS Code documentation names github.copilot.enable instead, so prefer that one. Some guides also list editor.inlineSuggest.enabled, but the Copilot inline suggestions page does not mention it.
Next edit suggestions and snooze
Next edit suggestions are their own feature, with their own setting: github.copilot.nextEditSuggestions.enabled. It defaults to true.
Sometimes you don’t want a permanent change, just some quiet while you think. That’s what Snooze is for. Each time you select it in the Copilot menu it adds five minutes, and Cancel Snooze brings suggestions back.
Turning off every built-in AI feature
chat.disableAIFeatures covers chat and inline suggestions together. It defaults to false. Turned on, it hides the built-in AI features and also disables the Copilot extensions.
I’d only use it if you want AI out of the editor completely. If ghost text is the only thing bothering you, the narrower github.copilot.enable change is enough. There’s also a separate guide on removing GitHub Copilot from VS Code altogether.
How to disable autocomplete for one language or one project
You don’t have to change anything globally. A language ID block limits the change to one file type, and the project’s .vscode/settings.json limits it to one repository.
For a single language, wrap the settings in the language ID in square brackets. Here’s Markdown:
"[markdown]": {
"editor.quickSuggestions": { "other": false, "comments": false, "strings": false }
}Prose files are the usual reason. Your code files keep their dropdown while Markdown and plaintext go quiet.
Per-project settings live in a .vscode folder at the project root. Run “Preferences: Open Workspace Settings (JSON)” to edit them.
| Scope | Where it lives | Wins over |
|---|---|---|
| User | settings.json in the user profile | Defaults |
| Workspace | .vscode/settings.json | User |
| Language-specific | [language] block in either file | Non-language settings, even at narrower scope |
Precedence follows the VS Code settings documentation: later scopes override earlier ones, and language-specific settings beat non-language settings even when those have a narrower scope.
Since editor.quickSuggestions is an object, merging comes into play. Object values get merged and primitive values get replaced. So a workspace file containing only “other”: false still keeps the user-level comments and strings keys.
Copilot works the same way through its per-language map. Set “markdown”: false inside github.copilot.enable and the ghost text stops in Markdown files only.
How to stop Enter and Tab from inserting suggestions
Maybe the dropdown isn’t really the problem. Maybe it’s Enter grabbing a suggestion when you wanted a new line. In that case, set editor.acceptSuggestionOnEnter to “smart” or “off” and set editor.acceptSuggestionOnCommitCharacter to false. The list stays, it just stops rewriting what you type.
| Value | What Enter does while the list is open |
|---|---|
| “on” | Accepts the highlighted suggestion, in addition to Tab |
| “smart” | Accepts only when the suggestion makes a textual change |
| “off” | Inserts a new line, so only Tab accepts |
Sources disagree on that last row. The IntelliSense page documents only “on” and “smart”, while a dump of the default settings lists “off” as a third value. “Off” works in practice, but the IntelliSense page will not confirm it.
Commit characters are on by default (true), and the docs use the JavaScript semicolon as the example. Type a commit character like the semicolon and VS Code accepts the highlighted item first. That’s how a half-typed variable name turns into something else entirely, which is maddening when you don’t know why it’s happening.
editor.tabCompletion is already off by default. Its “on” value inserts the next best suggestion on repeated presses, so leave it alone unless you turned it on yourself.
So there are two ways to go. Changing the accept keys keeps every suggestion visible and stops the wrong insertions, and Ctrl+Space and Tab keep working. Turning the popup off entirely removes the visual noise while you type. The cost is that completion help disappears until you ask for it, which gets slow on unfamiliar APIs.
If accidental insertion is the real complaint, change the accept behavior first. Most people who disable the whole list wanted this.
Why autocomplete still shows after changing the setting
Usually another setting is overriding yours, or the suggestions aren’t coming from IntelliSense at all. A managed policy is the less common cause. Figure out which source is suggesting before you edit anything else.
Find the provider from the suggestion icon
Each suggestion has an icon next to it, and it tells you where the suggestion came from. The “Words” icon marks simple word-based completions. Snippet icons mean snippet prefixes, and anything with a method or class icon is coming from a language server.
Word-based entries point to editor.wordBasedSuggestions. Language-server entries are controlled by editor.quickSuggestions, because Pylance and the built-in JavaScript and TypeScript services all feed the same widget.
Overrides that beat your setting
- Open the workspace settings file and look for a quick-suggestions key. It outranks the user file.
- Search the user file for a [language] block. It outranks both.
- Check for policy settings. When an administrator sets one, it overrides everything else. Some Copilot settings, such as github.copilot.nextEditSuggestions.enabled, can be managed by your organization.
- Run Developer: Reload Window from the Command Palette, then test in a fresh editor tab.
Extensions that suggest on their own
Tabnine has its own pause. Click the Tabnine logo in the status bar and choose Pause Tabnine Completions. To get them back, click it again and choose Resume Tabnine Completions.
Pylance has no separate off switch, because it feeds the standard suggestion list. Its auto-import entries are already off, since python.analysis.autoImportCompletions is disabled by default.
IntelliCode probably isn’t your culprit anymore. Microsoft deprecated its VS Code extensions on November 12, 2025. The extension had over 60 million downloads, so an old install still lingers on a lot of machines, but its gray inline suggestions no longer work and it isn’t the source of live ghost text.
Not sure what is installed? A guide to VS Code extensions explains how to browse and disable them from the Extensions view.
When the standard fix does not apply
If it still won’t go away, it’s almost always one of these.
- A [language] override in either settings file
- A workspace file that sets the key again
- A managed policy locking the value
- An extension with its own completion engine
- A window that was never reloaded
How to turn autocomplete back on or trigger it manually
Delete the keys you added, or reset each one from the Settings editor with the gear icon beside the entry. Don’t forget any [language] or workspace overrides. If those stay, the old values keep winning.
Copilot comes back separately. Recheck the inline suggestions options in the Status Bar menu, or restore github.copilot.enable. A guide on using GitHub Copilot in VS Code covers sign-in if the icon shows as inactive.
Or skip going all the way back. You can leave automatic suggestions off and open the list only when you want it, which is honestly how I’d run it.
| Command | Windows and Linux | macOS |
|---|---|---|
| editor.action.triggerSuggest | Ctrl+Space | Control+Space |
| toggleSuggestionDetails | Ctrl+Space | Control+Space |
| toggleSuggestionFocus | Ctrl+Alt+Space | Control+Option+Space |
Defaults come from the VS Code IntelliSense documentation. Ctrl+Space does double duty: it opens the list when it’s closed and expands the details when it’s open.
Once the list is open, Tab or Enter inserts the selected member, depending on the accept settings above.
Autocomplete in VS Code FAQ
Does turning off autocomplete also remove hover docs and error squiggles?
No. Hover tooltips and error squiggles run on separate features, and the suggestion settings never touch them. Hover has its own switch, editor.hover.enabled, so you can keep diagnostics and go-to-definition while the dropdown stays quiet.
Can I delay the suggestion popup instead of disabling it?
Yes, with editor.quickSuggestionsDelay. It sets a wait in milliseconds before the list opens (the default is 10). Bump it up and suggestions are still there, they just don’t interrupt fast typing.
Is there a built-in shortcut to toggle suggestions on and off?
Not for editor.quickSuggestions. VS Code ships no toggle command for it.
Third-party extensions fill the gap. Settings Cycler binds a keybinding to flip a setting, which works fine as a quick on/off switch.
Where is the settings.json file on each operating system?
On Windows, user settings sit in %APPDATA%\Code\User\settings.json. macOS keeps them at $HOME/Library/Application Support/Code/User/settings.json, and Linux at $HOME/.config/Code/User/settings.json. Workspace settings live in a .vscode folder at the project root.
Do Cursor and Windsurf use the same autocomplete settings?
Partly. Cursor and Windsurf are forks of Visual Studio Code, and VSCodium is a community build of the same open-source code, so the editor.* suggestion settings exist in all three. Cursor’s and Windsurf’s own AI completions run through product-specific toggles, and github.copilot.enable does not control them.
Choosing the Right Autocomplete Fix in VS Code
Change as little as you can. Every broader switch takes away some help, and that help is easy to miss until it’s gone.
If wrong insertions are the problem, start with the accept behavior. If the dropdown itself is what bugs you, move on to quick suggestions. Copilot and other AI providers come last, for ghost text. That order goes from losing no assistance to losing the most, and you can undo any step by deleting one key.
A full disable has one real cost. Unfamiliar APIs get slower, because every completion needs a deliberate request instead of showing up on its own.
This order reflects the VS Code documentation as of November 2026. A renamed setting or a new default in a later release would change it, and the Copilot entry is the one to verify first.
- PyCharm Tutorial: From Install to Your First Debug Session - December 3, 2026
- How Software Teams Can Retire Old Hardware Without Losing Sleep - December 2, 2026
- PyCharm vs VS Code for Python: Speed, Debugging, Cost - December 1, 2026



