Search code examples
intellij-ideakeyboard-shortcutsphpstorm

IntelliJ IDEA find matching parenthesis / bracket


Is there any keyboard shortcut to navigate from one parenthesis ( to the matching one ) in IntelliJ?

Or even to "jump to the next opening/closing parenthesis (/) from wherever my cursor is"?

And, if there's no way to do it 'natively', are there any plugins that could add this functionality quickly and easily?

EDIT: the best solution I've found is added as a comment in liango's answer below, namely to put the cursor on the first or last brace and then press CTRL-W twice. Not ideal, but it does the job!


Solution

  • use CTRL-W to expand the selection within a bracket, use repeatedly if needed to select further out, then use the arrows.