Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CoderLineChan opened this issue Jan 12, 2025 · 5 comments

Comments

@CoderLineChan
Copy link

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

@jayesh8293
Copy link

#108 (comment)

@Oba421
Copy link

Oba421 commented Feb 4, 2025

f3258ae8a3b74cfe545a35fc3c95e535

@dymx101
Copy link

dymx101 commented Feb 15, 2025

same, after upgraded to 0.31.0, tab key not working anymore.

before it worked fine.

@giginet
Copy link

giginet commented Feb 15, 2025

I found the workaround.

Set Xcode > Settings > Key Bindings > GitHub Copilot Accept Suggestion to Tab.

@testforstephen
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants