PhpStorm: Set a text passage in editor when marking the text to be bold


If I wanted a text to be bold in a website, I add the HTML Tag b infront and at the end of the text.

How can I set that automatically when marking the text? Is there a menu function?

Thank you in advanced!

1 comment
Comment actions Permalink
Official comment


You can select the text and use Code > Surround With > "T2. Surround with <tag></tag> in HTML/JSP", then enter "b" within inserted template.

Please sign in to leave a comment.