Intellij IDEA find matching markup tag

前端 未结 3 1674
感情败类
感情败类 2021-02-18 14:31

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,

3条回答
  •  孤独总比滥情好
    2021-02-18 15:17

    • Ctrl+[ goes to the opening tag
    • Ctrl+] goes to the closing tag

    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:

    • Alt+Command+[ goes to the opening tag
    • Alt+Command+] goes to the closing tag

提交回复
热议问题