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

Web: Keyboard layout registration #82594

Closed
bpasero opened this issue Oct 15, 2019 · 1 comment
Closed

Web: Keyboard layout registration #82594

bpasero opened this issue Oct 15, 2019 · 1 comment
Labels
feature-request Request for new features or functionality keyboard-layout Keyboard layout issues *out-of-scope Posted issue is not in scope of VS Code web Issues related to running VSCode in the web
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Oct 15, 2019

Currently we only bundle top 60 keyboard layouts across all platforms and allow users to upload keyboard layout in web companion themselves. Each keyboard layout out of top 60 accounts for less than 0.1% in overall but that's thousands of users. To provide a smooth on boarding experience for the long tail, we may want to build an extension which contributes popular keyboard layouts and encourage users to contribute to that extension to help us collect more variants of keyboard layouts. To some extent, it's similar to Code Snippet

The contribution schema can be simple as

"contributes": {
		"keyboardLayouts": [
			{
				"platform": "darwin",
				"path": "./dvorak.json"
			}
		]
}

The keyboard layout file contains the content generated from command *Developer: Inspect Key Mappings (JSON) *

{
	"layout": {
		"id": "com.apple.keylayout.Dvorak",
		"localizedName": "Dvorak",
		"lang": "en"
	},
	"rawMapping": {
		"KeyA": {
...
}

Once users install this type of extensions, we can do auto detection or let users to manually pick what keyboard layouts to use.

Considering the keyboard layout contributions might be pretty long, say hundreds to thousands, it would be slow to do auto detection every time when users press keys. We can have a quick keyboard layout detection process once we find that users' keyboard layout is not U.S., similar to how Ubuntu does keyboard layout detection

  1. ask users to press a list of keys
  2. ask users if their keyboard has some specific keys or not

image

@bpasero bpasero added keyboard-layout Keyboard layout issues web Issues related to running VSCode in the web labels Oct 15, 2019
@rebornix rebornix added the feature-request Request for new features or functionality label Oct 22, 2019
@bpasero bpasero added this to the Backlog milestone Aug 9, 2022
@bpasero bpasero added the *out-of-scope Posted issue is not in scope of VS Code label Dec 6, 2022
@VSCodeTriageBot
Copy link
Collaborator

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality keyboard-layout Keyboard layout issues *out-of-scope Posted issue is not in scope of VS Code web Issues related to running VSCode in the web
Projects
None yet
Development

No branches or pull requests

3 participants