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

Keyboard short cut: accept part of the FIM suggestion #223

Open
Fadelis98 opened this issue Apr 25, 2024 · 4 comments
Open

Keyboard short cut: accept part of the FIM suggestion #223

Fadelis98 opened this issue Apr 25, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Fadelis98
Copy link

Is your feature request related to a problem? Please describe.

When the FIM give a long suggestion, usually I only want to accept some begining words. In github copilot, I can press ctrl → to accept only one word each time, just like I'm editing some existing line, and begin to type at any place. For multiline suggestions, I can press end to accpt the current line only as well.

Describe the solution you'd like
add support for common cursor control shortcuts

@rjmacarthy
Copy link
Owner

rjmacarthy commented Apr 25, 2024

Hey @Fadelis98 thanks for the report. Seems it never worked properly, edit, see below!

@rjmacarthy
Copy link
Owner

OK, I did some digging, this is somehow broken on Linux maybe Mac on later vscode versions. When I updated to insiders and tested it, it starts to work again. https://code.visualstudio.com/insiders/ when the new version is released it'll be fixed.

@Fadelis98
Copy link
Author

OK, I did some digging, this is somehow broken on Linux maybe Mac on later vscode versions. When I updated to insiders and tested it, it starts to work again. https://code.visualstudio.com/insiders/ when the new version is released it'll be fixed.

Thanks for your gread job, this project is amazing! It seems already work in the latest v3.11.31 version. Another problem I just noticed is that it now does not skip whitespace when using ctrl → to accept one word. This behavior is not expected and not elegent enough because it will regenerate the fim suggestion after accepting the whitespace. It will introduce extra waiting time and sometimes does not generate the same suggestion as before.

For more system information:
System: Linux
vscode: v1.88.1
twinny: v3.11.31

@rjmacarthy
Copy link
Owner

Please try latest insiders version of vscode. Many thanks.

@rjmacarthy rjmacarthy added the bug Something isn't working label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants