How do I sort the code in the Android studio?

Asked 2 years ago, Updated 2 years ago, 58 views

It's developed into an Android studio. I use Ctrl+Shift+F in Eclipse, but not in Android Studio. And in Eclipse, when you jump from .java file to method, Ctrl+O, how do you do it in Android studio?

What is the shortcut to code sorting in the Android studio?

android android-studio

2022-09-21 16:51

2 Answers

Windows or Linux: Ctrl+Alt+L

Mac: Option + Command + L It is possible to sort the code to .

In Ubuntu, Ctrl+Alt+L is the screen lock shortcut, but in Ubuntu, go to System Tools, enter -> System Settings, enter shortcuts Tab on the keyboard, and change the shortcut for System-> Lock Screen from Ctrl+Alt+L to another shortcut.


2022-09-21 16:51

Hold the cursor anywhere in the code and press Ctrl + Alt + L. The author's Ctrl + Shift + F is the Eclipse shortcut. Android Studio and Intel J have the same manufacturer, so the shortcuts are almost the same. When you first do Android Studio, it will be very helpful if you look at the key shortcuts that beginners can often use. https://youngest-programming.tistory.com/5 Thank you


2022-09-21 16:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.