H
H
HeBonpoc2014-11-08 16:03:50
PHP
HeBonpoc, 2014-11-08 16:03:50

PHPStorm: how to set up simultaneous renaming of opening and closing tags?

Hello!
I noticed that in VS there is such a functionality. Suppose we decide to make a link out of the span tag, that is, the a tag . In VS, it is enough to fix the opening tag - the closing tag will be fixed at the same time as the opening one.
Is there such a possibility in PHPStorm?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
HeBonpoc, 2014-11-08
@HeBonpoc

It turns out you can use rename (shift + f6 by default), but is it possible not to press this combination every time?

K
KorsaR-ZN, 2014-11-08
@KorsaR-ZN

Well, just a combination of what you wrote, or right-click - refactor - rename .
Well, as an option, move hotkey c shift + f6 to f2 , I did it conveniently for myself).
There is also an option, through a multi-cursor, i.e. through alt we put the cursor in the right places and write a new value ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question