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

Please add key binding Accept Full Suggestion #10

Open
mstroshin opened this issue Oct 30, 2024 · 3 comments
Open

Please add key binding Accept Full Suggestion #10

mstroshin opened this issue Oct 30, 2024 · 3 comments

Comments

@mstroshin
Copy link

Hello!
I can’t use the full suggestion feature because the Tab key binding doesn’t work for me. I assigned Cmd + Enter to ‘Accept Suggestion,’ but it doesn’t apply to the full suggestion.
Could you add an ‘Accept Full Suggestion’ key binding to the settings?

@devm33
Copy link
Collaborator

devm33 commented Nov 1, 2024

Hi @mstroshin, thanks for trying out GitHub Copilot for Xcode and providing feedback!

This is a great feature request, added to our roadmap 👍

Also to investigate why the Tab key accept isn't working for you, would you mind sharing your log when trying to press Tab to accept a suggestion? ~/Library/Logs/GitHubCopilot/github-copilot-for-xcode.log

@mstroshin
Copy link
Author

Thank you for your quick response!

I tried using the Tab key again, and it worked. However, it’s strange because I had set the shortcut to Cmd + Enter (screenshot below).

Previously, I used to use another plugin, CopilotForXcode, and encountered the same issue with the Tab key.

I’ve attached the log file.
github-copilot-for-xcode.log

CleanShot 2024-11-01 at 14 57 18@2x

@devm33
Copy link
Collaborator

devm33 commented Nov 1, 2024

That's great news that it's working!

However, it’s strange because I had set the shortcut to Cmd + Enter (screenshot below).

The keybinding is Xcode is necessarily separate from using tab to accept since it needs to take place outside of Xcode. It can be enabled/disabled in the Copilot for Xcode settings:

Image

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

2 participants