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

已回答
<?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

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

请先登录再写评论。