54

I am very familiar with the Visual Studio IDE, and am new to working with Android Studio. Is there a way to configure Android Studio so that the keyboard shortcuts that I'm used to from Visual Studio can be used in Android Studio?

1 Answer 1

92

Yes, this is possible.

For newer Android Studio Versions

This approach works on at least Android Studio v1.3 and later (per @Dazzibao's comment)

From the menu, select File | Settings. Select the Keymap option on the left, then from the Keymaps drop-down, select "Visual Studio". The defined shortcuts are then updated to Visual Studio settings.

Further customizations are able to be made, and applied. To export these settings, from the menu, choose File | Export Settings, and then select Key Maps, select a file, and save. These can be restored via File | Import Settings in the same way.

Note: Many of the shortcut keys that I was used to using C# are not set to be the same values using this method. Try the second approach (below) if not satisfied with Android Studio's "Visual Studio" key map assignments.

For older Android Studio Versions

The same approach has been documented here for the IntelliJ IDE, and also works for Android Studio. It involves downloading a .jar settings file intended for Resharper users, and importing it into Android Studio.

  1. Navigate to: https://github.com/hhariri/Tidbits/blob/master/resharper.jar
  2. Click "View Raw" to download the resharper.jar file
  3. In Android Studio, import the settings: File -> Import Settings -> <fullPathTo>/resharper.jar

Keyboard shortcuts are now as they would be in Visual Studio. For example, from the Run menu, review the debug control flow shortcuts:

enter image description here

2
  • 1
    I do confirm the section "For older Android Studio Versions" is the most effective way to have it works! Sep 5, 2018 at 8:48
  • 1
    And how about vice-versa?
    – iDecode
    Mar 19, 2020 at 5:16

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.