Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

Declaration of variable type doesnt consider fullclass, only alias #373

Open pelallemant opened 6 years ago

pelallemant commented 6 years ago

Hi,

When writing an inline comment like /** @var $myvar My\Namespace\MyClass */ it is not working. Even with \My\Namespace\MyClass.

The only way that works is by writing a use My\Namespace\MyClass at the start of the file.

My problem is that I have lot of classes with the same name under different namespaces. It would be great to be able to write explicitly the fullclass in the comment.

Thanks