-
Notifications
You must be signed in to change notification settings - Fork 5.9k
iPadOS: Don't disable keyboard shortcuts that conflict with browser #2586
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
Comments
Question, how do you install it as PWA? Right now I'm adding code-server to the home screen and all the shortcuts works, however, most of the os x shortcuts were missing so I copied the full list. The problem I'm facing right now is that every few minutes they stop working and I have to force a refresh. |
Then on your iPad, find it on the home screen and open it from there. So it sounds like you're already doing that.
Hmm... that's really strange. I am not sure what could be causing that. Can you record a video and post it here? And during the video, can you open the |
It seems it's the terminal that at some point takes over the shortcuts, or the editor doesn't acknowledge it's closed/hidden. https://share.icloud.com/photos/0jF8ajSZYwnybqtel2EFx2fDQ Thank you!!!! |
Thanks for the video! I have experienced that exact same Find issue with the integrated terminal - so strange.
Yeah I noticed this as well. Hmm...we'll have to investigate more but hopefully you're at least unblocked for now! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days. |
Is this still working? I added the shortcut cmd+w and it doesn't work in iPadOS 16.5 |
I am running in to the same issue on iPad OS 17.6. Unable to get the cmd+w shortcut to close the active editor. |
The PWA version of code-server can support top-level shortcuts normally reserved for the browser (e.g.
cmd
+w
).We think VSCode (upstream) disables keyboard shortcuts which may conflict with browser shortcuts here. I've tested this out locally by manually adding the keyboard shortcut
cmd
+w
which normally closes a tab in Safari/Chrome/Firefox.To see this working
Follow these steps to see in action:
Command Palette > Open Keyboard Shortcuts (JSON)
keybindings.json
cmd
+w
to close an active fileSolution
Check if code-server is running as a PWA. If it is, allow conflicting keyboard shortcuts (e.g.
cmd
+w
).The text was updated successfully, but these errors were encountered: