最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

visual studio code - How to disable Copilot for certain file types in VSCode - Stack Overflow

programmeradmin4浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论