admin管理员组

文章数量:1406177

How to disable Github Copilot suggestions in certain file types, for example - Todo? I'm using VSCode for task management and Copilot is very annoying here. I have tried

 "github.copilot.enable": {
    "TodoTXT": false,
    "TODO": false,
    "Todo": false
  }

without any effect...

How to disable Github Copilot suggestions in certain file types, for example - Todo? I'm using VSCode for task management and Copilot is very annoying here. I have tried

 "github.copilot.enable": {
    "TodoTXT": false,
    "TODO": false,
    "Todo": false
  }

without any effect...

Share Improve this question asked Mar 22 at 1:16 Kamil NajaKamil Naja 6,7307 gold badges37 silver badges52 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This is the fix

"[todo]": {
    "github.copilot.editor.enableAutoCompletions": false,
    "github.copilot.nextEditSuggestions.enabled": false
  }

You can also right click on Select Language Mode in bottom right corner, and select Configure 'Todo' Language based settings. This adds this language specific JSON part to your VSCode Settings.

本文标签: visual studio codeHow to disable Copilot for certain file types in VSCodeStack Overflow