microsoft / microsoft/monaco-editor
Some keybindings don't work with non US-Layouts
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Since monaco doesn't include the node-native-keymaps. For my german layout, for example, the 'lineComment' keybinding is still
cmdctrl+/ which doesn't map to a key on my layout. It should be translated to cmdctrl+shift+7 but we would need to get information about the keyboard layout which we don't have.
Does anybody have a solution to that or knows how to possibly solve this problem within a browser?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by investigating Monaco's keybinding handling and the browser-side availability of keyboard-layout information, with node-native-keymap as the referenced comparison; done would require a defined approach for translating bindings such as cmdctrl+/ on non-US layouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100