可以在code-server中安装github copilot插件来进行AI编码,支持Termux
项目地址:https://github.com/HG-ha/github-copilot_in_code-server
GitHub Copilot in code-server
这个项目提供了一个一键式安装脚本来设置代码服务器中的GitHub Copilot。按照以下步骤在代码服务器环境中安装和配置GitHub Copilot
已经过测试的功能
- 代码补全
一键安装
curl -fsSL https://ghproxy.cn/https://github.com/HG-ha/github-copilot_in_code-server/blob/main/setup_github_copilot.sh | sh
手动安装
curl -L -o copilot-1.271.0.vsix https://ghproxy.cn/https://github.com/HG-ha/github-copilot_in_code-server/raw/main/copilot-1.271.0.vsix
code-server --install-extension copilot-1.271.0.vsix
可能出现的问题
- 无法完整显示github copilot
- 每次打开新文件都需要手动开启一次copilot
- 顶部没有github copilot图标