Eclipse jump to closing brace

Trastle picture Trastle · Nov 14, 2008 · Viewed 163.2k times · Source

What is the keyboard short cut in Eclipse to jump to the closing brace of a scope?

Answer

ninesided picture ninesided · Nov 14, 2008

Place the cursor next to an opening or closing brace and punch Ctrl + Shift + P to find the matching brace. If Eclipse can't find one you'll get a "No matching bracket found" message.

edit: as mentioned by Romaintaz below, you can also get Eclipse to auto-select all of the code between two curly braces simply by double-clicking to the immediate right of a opening brace.