is it possible to wrap around selected text html opening and closing tags?

Hi,

Is it possible in PyCharm to select text and add opening and closing html tags around it?

E.g. text selected --> some action --> <strong>selected_text</strong>

I hope I made myself clear. It was hard for me to find proper search terms for it, not to mention describing it in english

Thanks,

Chris

1 comment

Hello Chris,

Yes. In HTML, use the "Surround With" action (Ctrl-Alt-T). In other file

types, you can configure custom live templates in the "Surround" group and

use the "Surround with Live Template" action (Ctrl-Alt-J).

Is it possible in PyCharm to select text and add opening and closing

html tags around it?

E.g. text selected --> some action --> selected_text

I hope I made myself clear. It was hard for me to find proper search

terms for it, not to mention describing it in english

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.