Having a section of HTML tag:
<div> /* a long long text */ </div>
Suppose the caret is at the begin of the tag <div>
,
is there any key to move the caret to the closing </div>
?
There is a similar concept on CSS (doesn't work on HTML) that works fine:
.myClass { .... }
in this case, Ctrl + ]/[ moves to the code block end/start.
Here is the PhpStorm Default Keymap. I can't find the key I'm looking for.
Add a mouse shortcutOn the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S , right-click an action and select Add Mouse Shortcut. In the Mouse Shortcut dialog, move the mouse pointer to the central area and click or scroll as necessary. Click OK to save the shortcut.
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 /).
From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . PhpStorm places the highlighted string into the search field.
Using PhpStorm 10 && 2016.2:
Ctrl + shift + m
works just fine!
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