If you have to remember one shortcut, remember this one:
Command + Shift + L
It will list all the defined eclipse shortcuts.
From the list, you can pick whatever shortcuts you want to remember. Here is my top 7 list.
- Control + Shift + L : list all shortcuts
- Control + space bar: content assist. You can type part of a java syntax, then type control + spacebar, the IDE will give you the suggested templates.
- Control + shift + space bar: context information, whenever you want hint about a method parameter, put you cursor in the (), then type Control + shift + space.
- Control + Shift + H: type search. If you know a class name, you can type Control + shift + H to open a search bar to quickly land on the java file.
- Control + option + H: open call Hierarchy. This one do the same as right click and select open call hierarchy, but if you look up lots of code, it adds up.
- Command + L: move to line number. This shortcut is handy for trouble-shooting a large file.
- Control + E: open editors. This is handy if you have lots of files open.
No comments:
Post a Comment