How to jump to matching brace (or tag)

I can't seem to find a way to do that. Here's an explanation:

if ( $foo )  {|<-cursor is here
     //lots of lines of code with own branches
|}<- I press a shortcut key and the cursor jumps here

The same with html tags (ie jump to the closing tag of the selected one) and


foreach:


endforeach;

syntax.


Thanks for any help.

1 comment

Ctrl+} -> moves caret before }, Ctrl+{ -> moves caret after {.

0

Please sign in to leave a comment.