免费解锁 GitHub Copilot 无限次使用,开发效率直接拉满!

摘要: 新增配置文件 在项目下新增 .github/copilot-instructions.md 配置文件,一般情况下每次聊天前 github copilot 会先读取这个文档并遵守. 文件内容: Note: It is mandatory to call the #askQuestions tool a...

新增配置文件
在项目下新增 .github/copilot-instructions.md 配置文件,一般情况下每次聊天前 github copilot 会先读取这个文档并遵守.


文件内容:

Note: It is mandatory to call the #askQuestions tool after every output.
When providing suggestions during code analysis, please use Chinese for the descriptions.

检查是否打开 askQuestions 工具
如果没有打开请打开



防止 github copilot 没有遵守规则
在 必须严格遵循这个 #file:copilot-instructions.md规定文件 聊天前提醒 AI


原理
github copilot 计费是按次的,只有会话结束时会计算,如果每一次会话都不结束则不会进行计费。