Eclipse

Peter Ajtai edited this page Aug 18, 2012 · 31 revisions
Clone this wiki locally

Can add a save action to format all code!

Adjusting brackets

Keyboard shortcuts

Ctr + O - Outline
Ctr + T - type hierarchy
Ctr + Shift + p - jump to closing brace
Ctr + Left - Previous word
Ctr + Right - Next word
Ctr + Shift + f - format selected text
Alt + Shift + UP - select word

  • To split same file to two windows: ** Right click on tab and pick, "New Editor"

To change color of highlights, go to Preferences > Java > Syntax Highlighting highlight > Editor > Occurrences

Use underlines for occurrences!

Dealing with block selection

To resolve conflicts:

  • Team >> Edit Conflicts
    • Go through and copy over the changes that were made in the repository that you don't have.
    • Team >> Mark as merged
    • Team >> Commit

Linked from:

IDEs & Text Editors