In TextMate, for example, I use command + uparrow for the start of the file and command + downarrow for the end of the file.
Android Studio doesn't do this. How do I do the same thing in Android Studio?
Thanks.
Generally use the Home key to move to the beginning of input field and End key to move to the end. You can also use Ctrl + arrow key to move direction one word at a time. For example Ctrl + Left Arrow to move to previous word.
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.
Cant you just use cmd (or ctrl) + Home / End
On a Mac slim keyboard (without dedicated Home or End keys), Fn + Left/Right arrow is the equivalent.
So Cmd + Fn + Left/Right arrow should go to Start/End of file.
Navigate by braces, with a couple iterations you will get to start
and end
of file:
To navigate to start use:
command + option + [
and for end use:
command + option + ]
Once you are at the outer-most brace, you will not need multiple keystrokes.
This is especially useful for more than one closure in your java file.
Navigating to Braces
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