-
Notifications
You must be signed in to change notification settings - Fork 6
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
Accept suggestions on mobile #7
Comments
Yeah, good point - there should be a solution to this. Enter seems reasonable, but I'm not sure about adding Enter as a shortcut on desktop - it feels like there are situations where you're at // Write a factorial function<cursor> Where you want to hit Enter, but not accept a suggestion below. |
I would expect that clicking on the suggestion would accept it on mobile |
Yeah - that'll be somewhat harder to implement with the strategy in this plugin, but it's an option. |
I agree. On desktop we should stick to "tab" and not "Enter". The other question is how to reject suggestions without "Esc" button. |
Another suggestion for rejecting suggestions on mobile is timing out. |
Clicking on the suggestion now works very well (#12). However, I'm having trouble rejecting suggestions on touch screens. Great work indeed. |
Closing this ticket because suggestions are now accepted on mobile. The problem now is that they are always suggested, as @hatemhosny points out. New ticket for rejecting suggestions on mobile if the user clicks on any code except for the ghost text: #43 |
Great project 👍
Thank you for open-sourcing this.
CodeMirror6 has great mobile support. I use it in LiveCodes (a client-side code playground for 80+ languages/frameworks) as the default editor on mobile.
Currently accepting suggestions requires hitting the tab button which is not available by default on mobile keyboards.
Would you consider adding additional key binding for accepting suggestions? May be "Enter" key.
The text was updated successfully, but these errors were encountered: