Skip to content

Pressing "v" on DVORAK layout commits autocorrect #15624

@Tsmith18256

Description

@Tsmith18256
  • VSCode Version: 1.7.1
  • OS Version: Windows 10

This is a fun one... I use a Programmer-DVORAK layout, and the autocomplete commits whenever I type the letter v. The issue goes away if I switch back to QWERTY. It is pretty clear what is happening here; the v on DVORAK (or Programmer-DVORAK) is where the period is on QWERTY, which is intentionally meant to complete the autocorrect.

This is odd behaviour since the editor handles all the keys properly when typing and using hotkeys, but for some reason fails to distinguish the character being typed here. It also might be good to note that it still inserts the letter v after the committed word, not a period. I also noticed that the standard behaviour of committing the suggestion does not happen when hitting the DVORAK's period, it just inserts a period.

Also, if it makes a difference, the version of Programmer-DVORAK I am using is set to use QWERTY hotkeys, similar to the DVORAK-QWERTY layout that comes native on OS X.

Steps to Reproduce:

  1. Enable Programmer-DVORAK on your computer (normal DVORAK would probably cause the issue as well. I have a Programmer-DVORAK keyboard layout file on Windows that I created for anybody that would like it)
  2. Create a new TypeScript file with a class in it.
  3. Attempt to add a private property.
  4. Notice that it commits to the suggestion of "print" when you get to the v, resulting in the final word you get being "printv."

In the meantime, is there a way to disable this behaviour when pressing period? I can't find a setting for it.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugkeybindingsVS Code keybinding issueskeyboard-layoutKeyboard layout issuessuggestIntelliSense, Auto CompleteverifiedVerification succeededwindowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions