microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.6k stars 29.03k forks source link

Keyboard shortcuts using default OS Keyboard layout and not follow switching #29012

Closed lpikora closed 7 years ago

lpikora commented 7 years ago
Extension Author Version
ng-template Angular 0.1.3
EditorConfig EditorConfig 0.9.3
code-settings-sync Shan 2.8.1
string-converter adamwalzer 0.0.9
Bookmarks alefragnani 0.15.2
better-toml bungcip 0.2.0
githistory donjayamanne 0.2.0
tslint eg2 0.15.0
php-intellisense felixfbecker 1.4.1
Angular2 johnpapa 2.3.3
vscode-scss mrmlnc 0.6.2
tsimporter pmneo 1.2.14
java redhat 0.6.0
final-newline samverschueren 0.3.2
blueprint teamchilla 1.3.0
cordova-tools vsmobile 1.2.7
gitblame waderyan 1.11.3
twig whatwedo 1.0.2 ;

VS code using for Keyboard shortcuts default keyboard layout. When keyboard layout is switched to something else VS code Keyboard shortcuts still using default keyboard layout. Using Ubuntu 17.04 Gnome 3.

Steps to Reproduce:

  1. Add new keyboard layout in systems keyboard layout settings (eg. cs)
  2. Switch to cs keyboard layout
  3. Pres ctrl + key with /, it should zoom out (cs layout has - on / key), but it toggle comment.
alexdima commented 7 years ago

@lpikora On Linux, we have a couple of known issues.

This page also explains these known issues and some more -- https://github.com/Microsoft/vscode/wiki/Keybindings#troubleshoot-linux-keybindings

I'm thinking this issue is a duplicate of one of the known issues.

nemenos commented 7 years ago

Hello, the same happens on windows, pressing ALT+Shift changes Windows current keyboard layout, but vscode still applies my italian default keyboard.

alexdima commented 7 years ago

@nemenos

Please create a separate issue, and please include the Windows version and VS Code version.

Your problem cannot be the same problem as the OP's, since there are completely separate code paths for keyboard handling on Windows and on Linux. In the new issue I will ask you for additional information.

vscodebot[bot] commented 7 years ago

This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions.