Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JetBrains IDE - Keyboard shortcut to jump to closing HTML tag

In JetBrains IDEs (such as WebStorm) is there a keyboard shortcut to jump to the matching end HTML tag or matching beginning HTML tag?

like image 592
Casebash Avatar asked Jan 08 '16 07:01

Casebash


People also ask

How do you close a HTML tag?

An opening tag begins a section of page content, and a closing tag ends it. For example, to markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag <p> and close it with a closing paragraph tag </p> (closing tags always proceed the element with a /).

What is Ctrl Alt L in IntelliJ?

Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.

Which HTML5 tag is self closing?

↑ The full list of valid self-closing tags in HTML5 is: area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, and wbr.


1 Answers

Yes there is:

  • Ctrl - [ to jump to the beginning tag
  • Ctrl - ] to jump to the ending tag

In Settings -> Appearance & Behavior -> Keymap, these are the "Move Caret to Code Block End" and "Move Caret to Code Block Start" actions.

like image 122
Adi Levin Avatar answered Sep 21 '22 05:09

Adi Levin