31

Is there a way to add VSCode as an option under Android Studio's keymap settings?

Under File -> Settings... -> Keymap enter image description here

There are many other options listed, however none of them are even similar to VSCode

Jared
  • 2,999
  • 1
  • 28
  • 39

2 Answers2

55

Actually, JetBrains has created an official VSCode Keymap plugin in 2019 to get the Visual Studio Code keymap into Android Studio, you just need to download it first:

Installing VSCode keymap from plugins dialog

After that you can select the keymap VSCode in the keymap settings.

Martin Braun
  • 10,906
  • 9
  • 64
  • 105
29

I was unable to find anybody else who had done this, so I created my own

https://github.com/meadowsjared/VSCode-keybindings-for-Android-Studio

If you click the GitHub link above, it includes both instructions
and you can also download the jar file you'll need (just hit Clone or download)

note: this was created for windows

Jared
  • 2,999
  • 1
  • 28
  • 39
  • 2
    After importing, I realized these are Windows keybindings lol. – Thomas Feb 28 '19 at 01:24
  • I don't get it. I installed this and made sure it is selected, but it doesn't seem to work. Ctrl+arrows doesn't nagivate around in the code, Ctrl+P doesn't pop the file search dialog.... – papadi Mar 20 '20 at 12:02