CopilotForXcode
CopilotForXcode copied to clipboard
Pressing tab doesn't accept suggestion, doesn't complete.
When I type in the initial part of the code, it gives relevant suggestions, but when I press the tab key to accept, it doesn't accept the suggestion and complete the code. I tried quitting and reopening, restarting Xcode as well restarting my Mac.
Versions
- Copilot for Xcode: 0.31.0
- Xcode: 16.2.0
- macOS: 15.3.1 (24D70)
Logs
Can you check if Xcode menu Editor -> GitHub Copilot is greyed out? If so, you need to quit Xcode first and restart Xcode.
Hi @testforstephen, I do not see any such option here. Also, I have restarted my Xcode several times.
Same here. It is showing the suggestion in the editor in grey but tab just does a tab.
@diederikh @SagarSDagdu it means you didn't give permission to Copilot Xcode Extension.
@mecid I had that permission set correctly in the General settings tab. I downgraded the extension to an older version and it started working, so I guess this is a problem specifically with the latest version.
@SagarSDagdu I had the similar issue and in the System Settings -> Extensions -> Xcode Source Editor -> Github Copilot was somehow deactivated.
https://github.com/github/CopilotForXcode/blob/main/TROUBLESHOOTING.md#extension-permission
See the troubleshooting guide here, you need ensure grant Xcode Source Editor extension permission to "GitHub Copilot for Xcode". With extension permission granted, restart Xcode and then you should see "GitHub Copilot" menu enabled in Xcode Editor menu.
I had this issue even though the extension was enabled. Restarting Xcode or even my Mac failed.
But here's what worked:
- toggle the extension off and then back on
- restart Xcode
I'm having the same issue, tapping on tab doesn't autocomplete, but I can apply the suggestion from Editor -> Github Copilot menu
Permission looks fine on the Copilot Settings
Versions
Copilot for Xcode: 0.32.0 Xcode: 15.4.0 macOS: 15.0 (24A335)
I'm having the same issue, tapping on tab doesn't autocomplete, but I can apply the suggestion from
Editor -> Github Copilotmenu
Permission looks fine on the Copilot Settings
Versions
Copilot for Xcode: 0.32.0 Xcode: 15.4.0 macOS: 15.0 (24A335)
I have the same issue.
