Skip to content

Instantly share code, notes, and snippets.

@jyydev
Last active April 16, 2025 21:21
Show Gist options
  • Save jyydev/f950828ed8ec45d4306ed64ce587bb84 to your computer and use it in GitHub Desktop.
Save jyydev/f950828ed8ec45d4306ed64ce587bb84 to your computer and use it in GitHub Desktop.
VSCode -> autocomplete -> disable & turn off autocomplete on dot . period

Disable (turn off) autocomplete on dot . period for VSCode

Most people do not want to have autocompletion when they press the dot key, which should be disabled by default in VSCode.

Below shows 2 ways to turn this off.

Method 1:

  1. Go to VSCode setting and search for:
editor.acceptSuggestionOnCommitCharacter
  1. Uncheck the checkbox below:
Editor: Accept Suggestion On Commit Character
[ ] Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (;) can be a commit character that accepts a suggestion and types that character.

Method 2:

Place this in your 'settings.json' file :

"editor.acceptSuggestionOnCommitCharacter": false,

settings.json can be found and opened by:

  1. Opening the setting of VSCode.
  2. On top right corner icons, the first icon is the settings.json file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment