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

Keybindings using brackets (eg. indent) doesn't work with a Danish keyboard layout on Mac OSX #198

Closed
ghost opened this issue Nov 19, 2015 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@ghost
Copy link

ghost commented Nov 19, 2015

The reason is likely that to enter these keys on the layout, you have to use the 'option' (alt) button.
So in this instance, the command is effectively "Cmd+Alt+8" for Cmd+[.
Perhaps VS Code needs better OS-support for text input (or at least for their use in keycodes).

@alexdima
Copy link
Member

@Machtan Please see #713 where the problem is explained. The UI renders Cmd+[ when in fact the keybinding for decrease indent is Cmd+VK_OEM_4. I am not sure where exactly VK_OEM_4 sits in Danish keyboard, nor what its label is (you can probably find it by trying all the non apha numeric keys), but this is currently a limitation in the platform we're building on (electron / chromium). I'd also like to invite you, if you figure it out, to let us know what would be good default keybindings for the Danish keyboard layout and we can work from there to improve the experience for others (creating an extension...).

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label May 27, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
connor4312 added a commit that referenced this issue Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

1 participant