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

Add macOS keyboard shortcuts #101

Closed
milanvarady opened this issue Jan 4, 2022 · 2 comments
Closed

Add macOS keyboard shortcuts #101

milanvarady opened this issue Jan 4, 2022 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on
Milestone

Comments

@milanvarady
Copy link

milanvarady commented Jan 4, 2022

On macOS, you use the Command key to do most of the things you would do with the Control key on other operating systems, such as copying (Command+C), pasting (Command+V), selecting everything (Command+A). But in this demo these shortcuts doesn't work, they work with the Control key, which is pretty annoying if you are used to the macOS way of doing things.

And also on a Mac you can use shortcuts such as CTRL+A to go to the beginning of the line, CTRL+E to go to the end of the line, and CTRL+F to go one character forward. I personally use these a lot when I'm coding to move in the text more quickly.

Here are the list of all shortcuts, look at the Document shortcuts section.

The cursor shortcuts are not that important, but the Command ones are. This may be more a Godot issue, but it would be nice to have it.

@milanvarady milanvarady added the enhancement New feature or request label Jan 4, 2022
@milanvarady milanvarady changed the title Add macOS keyboard shortcuts to move cursor in code editor Add macOS keyboard shortcuts Jan 4, 2022
@milanvarady
Copy link
Author

milanvarady commented Jan 4, 2022

I did some experimenting and this seems to be an issue with Godot itself. Everything I described works if I run it on the Mac export, but when I run it in the browser, it produces these issues. I created a feature request on godot-proposals.

@NathanLovato NathanLovato added the wontfix This will not be worked on label Jan 5, 2022
@NathanLovato
Copy link
Contributor

I added the wontfix label as it's a Godot issue indeed, this happens with the built-in shortcuts.

The WebGL context is sandboxed in your browser and I don't know if we could even know you're on MacOS. We'll have to see that for our own shortcuts that currently all use Ctrl.

@NathanLovato NathanLovato added the good first issue Good for new contributors label Feb 5, 2022
@NathanLovato NathanLovato added the low priority Tasks that we don't have the resources or shouldn't tackle in priority label Feb 28, 2022
@NathanLovato NathanLovato added this to the 1.3 milestone Aug 10, 2022
@NathanLovato NathanLovato removed good first issue Good for new contributors low priority Tasks that we don't have the resources or shouldn't tackle in priority labels Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants