IntelliJ IDEA 11.0 Web Help

The Go to braces command helps you jump to the borders of the current code block. With the command, you can also quickly navigate to the borders of the higher code blocks.

To navigate to the borders of a code block, do one of the following:
  • To navigate to the code block start, press Ctrl+OpenBracketCommand OpenBracket, with the caret anywhere inside the code block.

    The caret jumps to the opening brace of the current code block.

  • To navigate to the code block end, press Ctrl+CloseBracketCommand CloseBracket, with the caret anywhere inside the code block.

    The caret jumps to the closing brace of the current code block.

To navigate to the borders of the closest higher code block, do one of the following:

Tip

Practically, you can just press Ctrl+OpenBracketCommand OpenBracket or Ctrl+CloseBracketCommand CloseBracket as many times as you need, until the caret is positioned at the start or end of the desired code block.

See Also

Reference:

Getting Started:

Web Resources: