Sane Git Copilot Configuration (for Markdown)

GitHub Copilot is a convenient way to enable AI assistance in VSCode.

However, we do NOT recommend enabling automatic inline suggestions in your markdown files.

Remember: Writing is thinking.

When AI automatically suggests how to finish non-obvious sentences, it can disrupt your train of thought. However, using AI to finish obvious sentences can provide a helpful productivity boost (and reduce finger strain).

To get the best of both worlds: enable GitHub Copilot (or your preferred AI assistant), but configure it to only show suggestions when you explicitly request them. This way, you gain productivity benefits without interrupting your writing (and thinking) process.

PreReqs

Set up GitHub Copilot in VS Code

How to Configure GitHub Copilot to Only Show Suggestions When You Request Them

Disable Automatic Inline Suggestions in Markdown

  • Go to settings.
  • In your settings, look for:
github.copilot.enable
  • Under github.copilot.enable configuration, set markdown:false

img

Add Shortcut for Inline Suggestions

In your keyboard shortcuts, look for:

editor.action.inlineSuggest.trigger

Assign an easy-to-use shortcut (I use CTRL+J CTRL+K to stay on the home row).

img