Answer the question
In order to leave comments, you need to log in
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
It turns out you can use rename (shift + f6 by default), but is it possible not to press this combination every time?
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 questionAsk a Question
731 491 924 answers to any question