When cursor is on namespace X\Y\Z, add some code action "Move namespace", accepting a new namespace as a parameter.
It should properly move the file into the new file structure on the drive and refactor all the usages of the previous namespace to the new one.
I'm not sure if this can be done using code actions, maybe rename action is required.
When cursor is on
namespace X\Y\Z, add some code action "Move namespace", accepting a new namespace as a parameter.It should properly move the file into the new file structure on the drive and refactor all the usages of the previous namespace to the new one.
I'm not sure if this can be done using code actions, maybe rename action is required.