github / github/CopilotForXcode

Copilot code completion don't work. How can I check the usage details?

未关闭
#108 5 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
6.3k
派生
2k
平均合并
2 分钟
30 天内合并 PR
2

描述

**Describe the bug**

**Versions**
- Copilot for Xcode: [e.g. 1.245.0]
- Xcode: [e.g. 15.3]
- macOS: [e.g. 14.3]

**Steps to reproduce**
1. Copilot code completion don't work,

**Screenshots**

**Logs**

[2025-01-12T03:43:33.700Z] [info] [GitHubCopilot] [93069] window/logMessage: {
"message" : "[lsp] GitHub Copilot Language Server 1.245.0 initialized",
"type" : 3
}
[2025-01-12T03:43:33.859Z] [info] [GitHubCopilot] [93069] window/logMessage: {
"message" : "[certificates] Removed 17 expired certificates",
"type" : 3
}
[2025-01-12T03:43:34.630Z] [info] [GitHubCopilot] [93069] check status response: Response(status: OK, user: Optional("CoderLineChan"))
[2025-01-12T03:43:34.632Z] [info] [GitHubCopilot] [93069] window/logMessage: {
"type" : 1,
"message" : "[auth] copilotToken.notification: ResponseError: The operation couldn’t be completed. (LanguageServerProtocol.ServerError error 0.)\n at handleResponse (\/snapshot\/copilot-client\/node_modules\/vscode-jsonrpc\/lib\/common\/connection.js:565:48)\n at handleMessage (\/snapshot\/copilot-client\/node_modules\/vscode-jsonrpc\/lib\/common\/connection.js:345:13)\n at processMessageQueue (\/snapshot\/copilot-client\/node_modules\/vscode-jsonrpc\/lib\/common\/connection.js:362:17)\n at Immediate. (\/snapshot\/copilot-client\/node_modules\/vscode-jsonrpc\/lib\/common\/connection.js:334:13)\n at processImmediate (node:internal\/timers:471:21) {\n code: 32603,\n data: undefined\n}"
}
[2025-01-12T03:43:35.322Z] [info] [CommunicationBridge] [93064] Service app found: 93069 Optional("com.github.CopilotForXcode.ExtensionService")
[2025-01-12T03:43:35.322Z] [info] [CommunicationBridge] [93064] Service app is still valid
[2025-01-12T03:44:05.756Z] [info] [Service] [93069] Extension Service is not updated, no need to quit.
[2025-01-12T03:44:05.779Z] [info] [GitHubCopilot] [93103] check status response: Response(status: OK, user: Optional("CoderLineChan"))

**Additional context**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。