CopilotForXcode
CopilotForXcode copied to clipboard
Copilot code completion don't work. How can I check the usage details?
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
- 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.
Additional context
https://github.com/github/CopilotForXcode/issues/108#issue-2782273633
f3258ae8a3b74cfe545a35fc3c95e535
same, after upgraded to 0.31.0, tab key not working anymore.
before it worked fine.
I found the workaround.
Set Xcode > Settings > Key Bindings > GitHub Copilot Accept Suggestion to Tab.
same, after upgraded to 0.31.0, tab key not working anymore.
before it worked fine.
@dymx101 The cause is the menu GitHub Copilot under the Xcode Editor menu is greyed out after using the update checker to upgrade to a new copilot version. You can fix it by restarting Xcode.