Monday, July 16, 2018

7 MAC OS X eclipse short cuts

The eclipse has many keyboard shortcuts that can potentially save you tons of time, so that you can focus on the programing itself instead of navigating the IDE.

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.


  1. Control + Shift + L : list all shortcuts
  2. 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.
  3. Control + shift + space bar: context information, whenever you want hint about a method parameter, put you cursor in the (), then type Control + shift + space.
  4. 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.
  5. 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.
  6. Command + L: move to line number. This shortcut is handy for trouble-shooting a large file.
  7. Control + E: open editors. This is handy if you have lots of files open.



No comments:

Post a Comment

meta.ai impression

Meta.ai is released by meta yesterday, it is super fast you can generate image while typing! You can ask meta.ai to draw a cat with curvy fu...