Skip to content

Some keys are not recognized correctly when using a Japanese keyboard #23833

@landonepps

Description

@landonepps

Keybindings for certain keys do not work as intended with a Japanese keyboard on macOS. When defining keybindings, the @ key (right of 'P') and '[' key are both recognized as a [. Shift+@ is recognized as shift+`. The ¥ key is 'unrecognized' and shift+¥ is recognized as shift+.

There may be issues with other keys, too. I noticed this one specifically because there is no ` key on a Japanese keyboard and it's used to open the terminal.

I'm using my MacBook's default keyboard which is Japanese. I also have a bluetooth Apple Japanese keyboard that experiences the same issue.

  • VSCode Version: 1.10.1
  • OS Version: macOS 10.12.4

Steps to Reproduce:

  1. Open 'Preferences -> Keyboard Shortcuts' (cmd+k cmd+s)
  2. Click 'Define Keybinding' (cmd+k cmd+k)
  3. Press @ or ¥ on a Japanese keyboard.

Here's a picture of the keyboard layout for reference:
mla22j

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitieskeyboard-layoutKeyboard layout issuesmacosIssues with VS Code on MAC/OS X

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions