K
K
kakatak2017-08-13 21:02:42
PHP
kakatak, 2017-08-13 21:02:42

Why doesn't namespace change when Refactor | Move in PhpStorm?

Good time.
I wanted the namespace to change when moving classes, as in the documentation https://www.jetbrains.com/help/phpstorm/move-names...
In Directories I set Sources to the root directories, but there is no sense, when moving such a picture and namespace is not is changing.
2ddfd6dcbf56427aa680ea1ce7598247.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kakatak, 2017-08-13
@kakatak

Understood. You need to apply Refactor | Move not to the file but to the class name itself in the file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question