So, I’ve recently found myself once more in the Java world, working using Eclipse. I am more of an IntelliJ IDEA guy, and when I work on a .NET project using Visual Studio, I always make sure that I install Jetbrain’s amazing ReSharper plugin… which pretty much bring a decent percentage of niceties to Visual Studio, over from the IntelliJ world.
If there is one thing that IntelliJ guys really got right, it is their shortcuts… and I truly miss them in Eclipse, even though Eclipse DOES actually cater for almost everything that IntelliJ does… but the shortcut scheme leaves much to be desired.
So I’m going to list here a few shortcut changes that will make my life (and maybe yours) better :) Some others are just good as they are (if not better than IntelliJ), but I’m listing them just to highlight their handiness :)
Just a quick tip/reminder on how to change shortcuts in Eclipse:
- Go to Window > Preferences…
- Navigate to General > Keys
..and there you are :)
|Switching to next tab/editor||Ctrl+F6||Ctrl+Tab|
|Switching to previous tab/editor||Ctrl+Shift+F6||Ctrl+Shift+Tab|
|*Quick Fix/Assist||Ctrl+1 or F2||Alt+Enter|
|Select increasing/decreasing Word/Scope||Alt+Shift+Up, Alt+Shift+Down, Alt+Shift+Left, Alt+Shift+Right|
|Copy/Duplicate lines Up/Down||Ctrl+Alt+Up, Ctrl+Alt+Down|
|Move lines Up/Down||Alt+Up, Alt+Down|
|Comment/Uncomment Selected Block||Ctrl+Shift+/, Ctrl+Shift+\|
|Activate Editor Window||F12||Esc|
|Go To Declaration||F3||F12|
|Quick Type Hierarchy||Ctrl+T|
|Quick Go To Anything||Ctrl+3|
|Quick Refactor Menu||Alt+Shift+T||Ctrl+R,Ctrl+R|
*This recommended shortcut is already registered to do something else in Eclipse. I suggest that you sort on Shortcut and remove any conflicts for this to work.