annotations completion does not use namespace aliases
It's possible to define annotations namespaces aliases, so when an annotation namespace is needed, the import statement includes an alias.

Which is nice.
Problem is that when auto-completing annotations, the FQCN will be used, while at the same time the import will be added for the aliased namespace.
E.g. I'll add the `Entity` (from `Doctrine\ORM\Mapping`, which is aliased as `ORM`), and the annotation will read `@\Doctrine\ORM\Mapping\Entity()`, while at the same time a use statement would be added as `use Doctrine\ORM\Mapping as ORM`:

Optimally, I'd like the completion to match the generated use statement. E.g.
* @ORM\Entity()
Did I miss a configuration trick for this?
Please sign in to leave a comment.
Hi there,
I may be wrong here (as I do not use this particular plugin) .. but annotations support is provided by 3rd party PHP Annotations plugin, so you better check with the plugin author about this.
https://github.com/Haehnchen/idea-php-annotation-plugin
From what I see there, it should work like that if an import line is already present:
use Doctrine\ORM\Mapping as ORM;