/icons/vscode-config.svg GitHub Copilot Essentials

Category: GitHub Copilot

Overview

This configuration provides essential GitHub Copilot settings for a smooth AI-assisted development experience. These settings enable core Copilot features including code completions, chat, and intelligent code actions.

What’s Included

Code Completions

  • Enabled for most languages: Copilot will provide inline suggestions across your codebase
  • Disabled for plaintext and SCM input: Prevents unwanted suggestions in plain text files and git commit messages
  • Enabled for markdown: Get AI assistance even in documentation

Code Actions

  • Copilot-powered refactoring: See Copilot suggestions in the Quick Fix menu (💡)
  • Smart rename suggestions: Get AI-generated variable and function name suggestions

Chat Features

  • Auto locale detection: Copilot Chat responds in your preferred language
  • Project templates: Use GitHub projects as starter templates with /new command

Syntax Highlighting

  • Highlighted suggestions: Code completions show proper syntax highlighting for better readability

Usage Tips

  1. Toggle Copilot: Use Ctrl+Alt+] (or Cmd+Shift+] on Mac) to enable/disable Copilot temporarily
  2. Accept suggestions: Press Tab to accept inline suggestions
  3. Partial accept: Press Ctrl+→ to accept word-by-word
  4. Open Chat: Use Ctrl+I for inline chat or Ctrl+Alt+I for chat panel

Best For

  • Developers new to GitHub Copilot
  • Teams setting up standardized Copilot configurations
  • Anyone wanting optimal default Copilot settings

Settings JSON

{
  "github.copilot.enable": {
    "*": true,
    "plaintext": false,
    "markdown": true,
    "scminput": false
  },
  "github.copilot.editor.enableCodeActions": true,
  "github.copilot.renameSuggestions.triggerAutomatically": true,
  "github.copilot.chat.localeOverride": "auto",
  "github.copilot.chat.useProjectTemplates": true,
  "editor.inlineSuggest.enabled": true,
  "editor.inlineSuggest.syntaxHighlightingEnabled": true
}