Android Studio stores the projects by default in the home folder of the user under AndroidStudioProjects. The main directory contains configuration files for Android Studio and the Gradle build files. The application relevant files are contained in the app folder.
Move between Tabs(Alt+left/right arrow keys): If you have tabs activated in Android Studio then you can use Alt+left/right arrow keys to move between them. This shortcut works for any window that have tabs in Android Studio.
alt + c then alt + l (holding alt ) for line comment.
You can use the Scroll from Source button in the Project Toolbar in the left of Android Studio.
Another solution is Alt+F1+1. You can also read Locate current file in IntelliJ for more answers.
Just enable the following option!
For automatic scrolling, you can do following:
You need to ensure Autoscroll to Source
and Autoscroll from source
is enabled.
Whenever you change the file the Project tree will be highlighted according.
I have observed some slowness and lag if project size is big(several modules or huge code base) and you use short cut Ctrl + N to navigate to a class.
So the alternative would be to either to click following icon:
OR
Use keyboard shortcut:
Alt + F1 + 1 or Alt + F1 + Enter
You can add shortcut (keymap) to "reveal current editing file in project explorer" command.
Ctrl + Alt + S
, for Windows user, to open SettingsKeymap
on the sidebarselect in project view
Ctrl + K
to reveal current editing file on project explorerI'm new to android development. I used to code in Sublime Text 3. One of first thing I do to make android development feels more enjoyable is binding all shortcut I used in Sublime Text 3 to Android Studio. Now, it feels like home :)
In Android Studio 4 it is now Always Select Opened File
under the Settings menu in the project view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With