3

How can I set default keyboard-layout for individual applications?

Example:

  • For Chrome: Russian
  • For Visual Studio Code: English

I know Windows has an auto option for this, but often it doesn't work correctly, and I also have a third language. Maybe I could remove it from the language list, using it only through a special shortcut, such as CTRL+1?

3
  • Consider installing some Linux distribution such as Ubuntu or Debian. On both of them, switching keyboard layout is very easy. My daughter (teaching Russian, and typing russian text) is doing that all the time. Then configuring a keyboard layout change at a single keyboard press is a matter of minutes. And both Chrome and VisualStudioCode runs on these Linux distributions Commented May 11, 2020 at 7:36
  • @BasileStarynkevitch Thanks for reply, but Linux not satisfies all my needs. Commented May 11, 2020 at 7:40
  • That was a comment, not a reply. Good luck. Microsoft sells some support. Did you consider contacting them? And Visual Studio Code is opensource, so you can improve the code and recompile it. Commented May 11, 2020 at 7:48

1 Answer 1

3
  1. Go to Settings -> Devices -> Typing
  2. Go to Advances keyboard settings. Enable "Let me use a different input method for each app window"
  3. Go to Chrome and select Russian keyboard. Then go to Visual Code and select English keyboard.

Reference: How to Turn On or Off Use Different Keyboard Layout for each App Window in Windows 10

4
  • 1
    Thank you, but I did the same, when I change the language (for example, to English for writing this comment) and switch to another window as it remembers the last language, which subsequently brings inconvenience. Commented May 11, 2020 at 8:00
  • Try using Left Shift+Alt, when changing the keyboard layout of the app. It should stick (at least when the window(s) are opened. I have not tried to close and re-open). Commented May 11, 2020 at 8:03
  • The result is the same Commented May 11, 2020 at 8:08
  • Works without problems with Chrome for me. I use the language selector next to the clock in the task bar to switch language.
    – Robert
    Commented May 11, 2020 at 9:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .