How can one move to previous caret position(s) in android studio? It was possible in Eclipse.
To navigate back and forth faster, hit CMD + ALT + ARROW_LEFT/ARROW_RIGHT. It will bring you to your last cursor position in your project.
Copy line: To copy a whole line place your cursor anywhere on that line and press Ctrl+C. This will automatically select the whole line and copy it to the clipboard.
Use Ctrl + Alt + Left and Ctrl + Alt + Right
For Mac, use Command + Option + Left and Command + Option + Right
If these don't work for you, it is possible that these keys are assigned for some of the functions of your OS/video drivers, you can either disable the shortcuts that are using these keys from operating system settings/video driver settings or change shortcuts from Android Studio itself by going to:
File > Settings > Keymap > Main menu > Navigate > Back/Forward
Mac users can find this dialog by going to Android Studio's: App Menu -> Preferences
It's Alt + Ctrl + Right/Left arrow
and mouse buttons 4 and 5 (if your mouse has those). You can change these shortcuts under:
File > Settings > Keymap > Main menu > Navigate > Back/Forward
.
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