-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Tab completion can't work #528
Comments
I’m seeing the same thing. |
Similar issue: #500 Sometimes a reboot will fix it. |
@intitni Oooh, yeah. I've seen this from time to time in my own application Keyboard Cowboy. I'll do a restart right now to see if that fixes things an report back to you. You reckon I'll need to give the extension accessibility permissions again after I've done that? |
@zenangst I don't think you need to do it again, but who knows. |
@zenangst What about regranting permissions and turn the toggle "observe to AXNotification with default mode" on in advanced settings? |
Thanks for following up, it regranted the permissions but is still end up with same result, that tab does nothing when it shows a completion. |
@zenangst But how did you get code suggestions when the app fails to observe to AXNotifications. Do you still see the errors about AXObserver? Please give this version a try: https://github.com/intitni/CopilotForXcode/releases/download/0.1.0/Copilot.for.Xcode.app.debug.tabtoacceptsuggestion.202405301636.zip I have added tons of loggings to this build. Please set the filter to
If the app works as expected, you should see and only see the following logs when you tap Tab:
|
After I restarted the computer, not only did the tab stop working, but the code suggestions were also gone... |
@koi646 Update the language server in the host app |
sorry, what exactly should I do? |
@koi646 go to the GitHub Copilot settings, if an update is available, click update and restart the service app. If there is no update, that means it's automatically updated but the service app is not using it yet, please restart the service app. |
Thank you, code suggestions and tab completion are both working fine.🎉 |
@intitni I tried your custom build, sadly the same result. ![]() I still get the autocomplete to show. ![]() |
@zenangst Please use the latest released build and set the filter to category:Debug. You should see logs when Xcode is activated and when you hit tab. |
@zenangst Please remove the other filters and keep only the category:Debug |
@zenangst (´・ω・`) I honestly don't know why.. Is it possible that the Console.app is not showing |
I found this thread https://forums.developer.apple.com/forums/thread/82736?page=2 Was able to get some additional information by using https://gist.github.com/zenangst/a873439781e69ca0c78a639de626793d |
@zenangst I found this log Can you still accept suggestion with buttons or the Xcode menu item? How does the Copilot menu look like? What happens if you turn on "Always accept suggestion with Accessibility API" |
Nothing happens when I click the accept button in the suggestion UI. Enabling |
@zenangst Please turn off that toggle and try |
@intitni now we are talking, that did the trick |
@zenangst I think I should remove the toggle later |
@intitni thanks for your patience ❤️ |
Before Reporting
Describe your issue
Previously, after subscribing to Plus, the Tab key could be used for autocompletion. Now, the Tab key no longer completes code. I'm unsure if this is related to the Xcode upgrade.
The text was updated successfully, but these errors were encountered: