-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Pressing "v" on DVORAK layout commits autocorrect #15624
Comments
To disable autocomplete on pressing period, you can set |
I thought I'd have a shot at fixing this problem, and have had not problems with any 'correct' bindings on the current master by simply commenting out the I'll hack the 1.7.1 and current 1.8 build internals and see if the same 'fix' works. If so, I guess the mac specific thing is (no longer) an issue. More to follow ... |
Yep, that totally got rid of any issues. Code completion begins by pressing |
@ramya-rao-a I just set that to false, but it is still committing on v in DVORAK and period in QWERTY. @HookyQR If you post a fix, I'll be happy to test it out on my computer. I have never run the app from the source code for this project yet, but I can get it set up. |
@Tsmith18256 on windows or mac? Are you using some other program to re-map your keyboard? I'm using the default Dvorak. Also, are you on Sierra? You'll have to remove any 're-mappings' you've setup already. (In VSCode) |
@Tsmith18256 Sorry, I misinterpreted what you were saying there. It's an easy hack: |
See PR #15687 |
There is keyboard config-rule that goes like this: { "key": ".", "command": "^acceptSelectedSuggestion",
"when": "editorTextFocus && suggestWidgetVisible && suggestionSupportsAcceptOnKey && editorLangId == 'typescript'" }, So, when pressing { "key": ".", "command": "-acceptSelectedSuggestion" }, |
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; thev
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:
In the meantime, is there a way to disable this behaviour when pressing period? I can't find a setting for it.
The text was updated successfully, but these errors were encountered: