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

Can't use certain keyboard input in the playground #1113

Open
Zstorm999 opened this issue Oct 28, 2024 · 2 comments
Open

Can't use certain keyboard input in the playground #1113

Zstorm999 opened this issue Oct 28, 2024 · 2 comments

Comments

@Zstorm999
Copy link

Zstorm999 commented Oct 28, 2024

Operating system: MacOS Sequoia 15.0.1 (the issue was also present in earlier versions)
Browser: Firefox, latest version

As the title says, I have a problem with some keyboard inputs not interpreted correctly in the playground. I have a input method mapping OPT+SPACE/ALT+SPACE to underscore (0x95, _), which works perfectly fine on all applications and websites except for the rust playground.

For some reason, the input is simply ignored and no character is displayed, and I have to copy and paste manually each time I want to use an underscore (which is pretty often when snake-case is the convention).

Has anybody run into this problem before ? Is there some customization that I’m not aware of to make this work ?

@shepmaster
Copy link
Member

Which editor are you using?

If Ace, can you try the same thing on https://ace.c9.io/build/kitchen-sink.html

If Monaco, can you try the same thing on https://microsoft.github.io/monaco-editor/playground.html

@Zstorm999
Copy link
Author

I am using Ace. I tried the first editor, and the same shortcut triggers the completion list.

I also tried it on the Monaco editor, and it works as expected both in the playground and the link you gave me, so the problem is definitely coming from Ace

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