How to go to last edit location/s in android studio?
Clicking the back arrow in the toolbar makes you travel within your navigation history.
But I want to travel within my edition history i.e. navigate through the last change/s I made in code.
Eclipse have a back arrow with star on it for this.
To use Local history on any folder or file press right click, then Local history > Show history. Here you see your local changes on the selected files or folders. On a previous entry, you can hit right click and Revert to revert to that state.
To open the keymap settings, choose File > Settings (on Mac, Android Studio > Preferences) and navigate to the Keymap pane. Figure 1. The Android Studio keymap settings window. Keymaps dropdown: Select the desired keymap from this menu to switch between preset keymaps.
To comment/uncomment one line, use: Ctrl + /. To comment/uncomment a block, use: Ctrl + Shift + /.
Click File > Settings (on macOS, Android Studio > Preferences) to open the Settings dialog.
Go to File
-> Settings...
-> Keymap
.
In the search box type "last edit location".
Your default shortcut for Last Edit Location should show up (mine is Ctrl + Q on the screenshot below).
You can also change it by double (or right) clicking on it.
I got the short cut
Mac: Cmd+Shift+Backspace
Windows/Linux: Ctrl-Shift-Backspace
It's working for me
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