这个项目提供了一个一键式安装脚本来设置代码服务器中的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-
安装code-server
- 在Termux中安装
pkg update -y pkg install tur-repo pkg install code-server
- 通过proot-distro环境安装
pkg install proot-distro proot-distro install debian proot-distro login debian curl -fsSL https://code-server.dev/install.sh | sh
- 在Termux中安装
-
安装github copilot:
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图标