How do I navigate to the start or end of a file in Android Studio?
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