WebStorm 8.0.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+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketAlt Command Open BracketCommand Open BracketAlt Command Open Bracket, with the caret anywhere inside the code block.
  • To navigate to the code block end, press Ctrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close Bracket, Ctrl+Alt+Close Bracket or Ctrl+Alt+BCtrl+Close Bracket or Ctrl+AsteriskCtrl+Close BracketCtrl+Close Bracket or Ctrl+Shift+PAlt Command Close BracketCommand Close BracketControl Close Bracket or Control Shift P, with the caret anywhere inside the code block.
  • To toggle between code block start or end, invoke the action Move Caret to Matched Brace. This action has no default keyboard shortcut, and can be found by Ctrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+ICtrl+Shift+AShift Command AShift Command ACommand 3.
To navigate to the borders of the closest higher code block, do one of the following:
  • To jump to the higher code block start, press Ctrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketAlt Command Open BracketCommand Open BracketAlt Command Open Bracket, with the caret at the current code block opening brace.
  • To jump to the higher code block end, press Ctrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close Bracket, Ctrl+Alt+Close Bracket or Ctrl+Alt+BCtrl+Close Bracket or Ctrl+AsteriskCtrl+Close BracketCtrl+Close Bracket or Ctrl+Shift+PAlt Command Close BracketCommand Close BracketControl Close Bracket or Control Shift P, with the caret at the current code block closing brace.

Tip

Practically, you can just press Ctrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketAlt Command Open BracketCommand Open BracketAlt Command Open Bracket or Ctrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close Bracket, Ctrl+Alt+Close Bracket or Ctrl+Alt+BCtrl+Close Bracket or Ctrl+AsteriskCtrl+Close BracketCtrl+Close Bracket or Ctrl+Shift+PAlt Command Close BracketCommand Close BracketControl Close Bracket or Control Shift P 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: