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

[Help Wanted]: Keyboard shortcuts no longer working from Xcode to Codeium. #438

Open
2 tasks done
bretlindquist opened this issue Feb 8, 2024 · 6 comments
Open
2 tasks done
Labels
help wanted Extra attention is needed

Comments

@bretlindquist
Copy link

bretlindquist commented Feb 8, 2024

Before Reporting

  • I have checked FAQ, and there is no solution to my issue
  • I have searched the existing issues, and there is no existing issue for my issue

Describe your issue

After installation everything was fine. I was able to set the key bindings in Xcode and use them as you would expect.
I had set " Shift + Option + ] " or " Shift + } " initially to accept, as recommended and it worked well.
Then for some reason, it just stopped working.
When it hit " Shift + Option + ] " now it produces a ’ instead of accepting. Right now Xcode seems to be the only app that returns alt codes when i use this button combination. Some setting in Xcode seems to have changed.
Let me know if anyone else has experienced this or if you have any ideas. Thanks.

Update: I have tried to replace the keyboard layout as instructed below and it does not produce special characters anymore. However no binding I make in Xcode works for me anymore with Codeium.

https://stackoverflow.com/questions/11876485/how-to-disable-generating-special-characters-when-pressing-the-alta-optiona

@bretlindquist bretlindquist added the help wanted Extra attention is needed label Feb 8, 2024
@intitni
Copy link
Owner

intitni commented Feb 8, 2024

I have heard from others having the same issue. It could be a bug in Xcode. When the issue happens, can you still see the key combination noted next to the "Accept Suggestion" menu item? Is the menu item still clickable? Is there a key binding conflict?

All I can suggest now is to try other key bindings.

@bretlindquist
Copy link
Author

I've tried countless other combinations of bindings, nothing seems to work. it does seem like a bug in Xcode. It's strange, because it did work when i initially set it up.

@intitni
Copy link
Owner

intitni commented Feb 8, 2024

There is another way to set up a keybinding for a menu item outside of Xcode. I think it's more reliable.

Screenshot 2024-02-08 at 23 24 42

@bretlindquist
Copy link
Author

Okay, Now we may be at the heart of the issue. For some reason, I do not have Editor->Copilot in my menu in Xcode. Again strange because I see the dialogue and had it working at one point.

I am on Xcode 14.2
MacOS 12.7.3

@intitni
Copy link
Owner

intitni commented Feb 9, 2024

Please make sure that the Xcode source editor extension is enabled.

@bretlindquist
Copy link
Author

That last suggestion combined with your other recommendation fixed it for me!

If Xcode Extensions are not in the system prefs extensions list, this worked for me:
Rename Xcode to Xcode10, launch Xcode10 then quit.
Rename Xcode10 back to Xcode.

Actually after step 1, "System Prefs - > Extensions" back to normal, but I just want the default app name back."

After that I still could not use the key bindings in Xcode, but setting the app shortcut bindings did work.

Thanks for your fast replies and spot on suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants