152 words
1 minutes
How to Disable Copilot Suggestions for Specific Languages in VS Code

The Problem#

When writing blog posts in Markdown or taking notes in plain text files, Copilot inline suggestions keep popping up and breaking your concentration.

Copilot is helpful when coding, but when writing natural language, the suggestions are more distracting than useful.

The Solution#

The github.copilot.enable setting lets you enable or disable Copilot suggestions per language.

How to Configure#

  1. Open Settings with Ctrl + ,
  2. Search for github.copilot.enable
  3. Click “Edit in settings.json”
  4. Set the languages you want to disable to false

Example settings.json#

{
  "github.copilot.enable": {
    "*": true,
    "plaintext": false,
    "markdown": false,
    "scminput": false
  }
}
  • "*": true → Enabled for all languages by default
  • "plaintext": false → Disabled for plain text
  • "markdown": false → Disabled for Markdown
  • "scminput": false → Disabled for Git commit message input

To disable specific programming languages, use VS Code language identifiers:

{
  "github.copilot.enable": {
    "*": true,
    "yaml": false,
    "jsonc": false
  }
}

Summary#

With github.copilot.enable, you can enjoy Copilot suggestions while coding and turn them off when writing prose. Customize it to match your workflow.

How to Disable Copilot Suggestions for Specific Languages in VS Code
https://naonao-na.com/en/posts/vscode-copilot-setting-enable/
Author
[object Object]
Published at
2026-04-04