user2164613
user2164613

Reputation: 177

Wrap up selected text in PhpStorm by hotkey?

Well, a simple question: I need to wrap the selected text in some kind of text construction when I press an arbitrary combination of keys. For example:

example

Upvotes: 0

Views: 41

Answers (1)

lena
lena

Reputation: 93728

You can use Code > Surround with.. feature (Ctrl+Alt+T) to surround a selected tag with another tag/Emmet abbreviation or surround live template

To comment out the selection, just hit Ctrl+/ or Ctrl+Shift+/ (Code | Comment with line comment or Comment with block comment)

Upvotes: 1

Related Questions