VS Code SSH 远程连接配置 Copilot
在 VS Code 通过 SSH 远程连接时,若 GitHub Copilot 出现没有模型选项或无法使用的情况,可通过修改用户设置来解决。
1. 修改 settings.json
打开用户设置(JSON 格式),添加或修改以下配置项:
{
"remote.SSH.remotePlatform": {
"xx.xx.xx.xx": "linux"
},
"remote.extensionKind": {
"GitHub.copilot": ["ui", "workspace"],
"GitHub.copilot-chat": ["ui", "workspace"]
},
"github.copilot.nextEditSuggestions.enabled": true,
"github.copilot.chat.agent.thinkingTool": true,
"github.copilot.enable": {
"*": true,
"plaintext"

