3 ms·
CTRL+O - My favorite eclipse command. Gives you autocomplete outline of the current class in a popup. These three are essential for my workflow. When I am spin
by keefe 17y ago
CTRL+O - My favorite eclipse command. Gives you autocomplete outline of the current class in a popup.
These three are essential for my workflow. When I am spinning up on code, I tend to open a LOT of files (select all, open) and scan them, kind of try to boot up the code into my head. This is how I navigate around.
CTRL+M - maximizes current editor
CTRL+E - Autocomplete list of open editors
CTRL+W - close current editor
Make sure to note that you can drag an editor next to another editor and get emacs-style multiple panels. You can also right click on the name of a class in the editor and select new editor - this gives you two editors on the same file, a key feature for legacy projects.
Make sure to customize code cleanup and warning settings to match your particular style.
Also, remember that the key to using eclipse is the plugins. One of my favorites is Mylyn, which integrates to most task management systems. This allows you to associate a set of files with a bug, which makes regression bugs a dream.
CTRL+T gives a similar functionality as CTRL+O, but for type hierarchy. Great for inheritance addicts.
CTRL+1 I am sure you have figured out and CTRL+Space too.
You can enable line numbers by right clicking in an editor.
Code folding is a great technique for highlighting what you are working with.
Eclipse keeps its own local history, so if you screw up before committing, it sometimes gives you an out.
and speaking of out, that's all that comes to the top of my head...