Is there a shortcut or where I can click to find the matching tag of a markup tag and bring the focus/cursor there?
For example, <p><span></span><div></div></p>
If my cursor is on the closing </p>
tag, I would like to IDEA to bring me to the opening </p>
tag.
on the toolbar, or press Ctrl+F . Enter the tag name (code completion suggests tag names as you type) and press Enter .
Press Shift twice to open the search window and type / . IntelliJ IDEA lists the available groups of settings.
The action is called Move caret to code block end/start
and hotkey can be changed in Settings | Keymap
.
On IntelliJ 2017 for Mac the shortcuts are:
On IntelliJ 2016 for Mac this command seems to be:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With