Is it possible with a hotkey to navigate back and forth in a class, or file ... rather than between files?
I know it is possible to go back and forth but that happens globally now, using all files. I want to jump between the spots for this file only.
Should not be hard to add on, just filter the history stack for the current active file.
To navigate backwards, press Ctrl+Alt+Left . To navigate forward, press Ctrl+Alt+Right . To navigate to the last edited location, press Ctrl+Shift+Backspace .
From the main menu, choose Navigate | Declaration Ctrl+B , or use any other method, described in Navigating section. The corresponding template files opens in the editor.
In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.
shift+F6. rename. ctrl+shift+r. ctrl+shift+N. find file / open resource.
No. But it's possible to go to last edited location. If you need it - you can write feature request on JetBrains tracker.
UPD 2019 Actually there is relatively new shortcut Ctrl + Shift + E to show you recent locations.
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