What is the keyboard short cut in Eclipse to jump to the closing brace of a scope?
What is the keyboard short cut in Eclipse to jump to the closing brace of a scope?
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.
With Ctrl + Shift + L you can open the "key assist", where you can find all the shortcuts.
On the Macintosh, place the cursor after either the opening or closing curly brace } and use the keys: Shift + Command + P.