Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 4.0 shortcuts changed

This week I updated to Android Studio 4.0, and one of the first things I noticed was that some of my favorite shortcuts like CMD+W has changed to CMD+F4 (which the touchbar wont actually show the F keys anymore), and also CMD+O changed to CMD+N. Is there any way to get them back to what they were to set to in Android Studio 3?

like image 528
tyler Avatar asked May 31 '20 04:05

tyler


People also ask

How do I change hotkeys in Android Studio?

To open the keymap settings, choose File > Settings (on Mac, Android Studio > Preferences) and navigate to the Keymap pane. Figure 1. The Android Studio keymap settings window. Keymaps dropdown: Select the desired keymap from this menu to switch between preset keymaps.

Which is keyboard short cut for auto format code in Android Studio?

Install the Dart plugin (see Editor setup) to get automatic formatting of code in Android Studio and IntelliJ. To automatically format your code in the current source code window, use Cmd+Alt+L (on Mac) or Ctrl+Alt+L (on Windows and Linux).


2 Answers

It happened to me too after upgrading to Android Studio 4.0, it was fixed after I went to Android Studio > Preferences > Keymap then choice MacOS: enter image description here

like image 169
Tao Nhu Avatar answered Sep 19 '22 17:09

Tao Nhu


Fixed, it happen because Android Studio 4.0 by default use Intellij Keymap, fixed by change back to MacOs keymap. Android Studio > Preferences > Keymap > macOS

like image 30
wisnu kurniawan Avatar answered Sep 19 '22 17:09

wisnu kurniawan