How can I refactor/rename the alias of an import?

Answered
<?php
namespace Foo;

use \Acme\App\Bar as AcmeBar

...

How can I use the refactoring feature to rename the "AcmeBar" alias to something else filewide? I can rename classes and variables with the refactor menu but seem to be unable to change the alias i've given to an import. Is this supported at all?

0
1 comment

Hi there,

It does not seem to be supported ATM.

https://youtrack.jetbrains.com/issue/WI-11268 -- watch this ticket (star/vote/comment) to get notified on progress.

1

Please sign in to leave a comment.