Intellij IDEA find matching markup tag

前端 未结 3 1681
感情败类
感情败类 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:12

    On IntelliJ 2016 for Mac this command seems to be:

    • Command+Shift+M goes to the matching tag / brace
    0 讨论(0)
  • 2021-02-18 15:13

    On the Mac, I use Move caret to matching brace, Ctrl+M.

    0 讨论(0)
  • 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
    0 讨论(0)
提交回复
热议问题