Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Autocompletion of Class names #138

Open
warkior opened this issue Feb 21, 2020 · 1 comment
Open

Allow Autocompletion of Class names #138

warkior opened this issue Feb 21, 2020 · 1 comment

Comments

@warkior
Copy link

warkior commented Feb 21, 2020

I'm new to vscode so forgive me if this is already solved, but I have found that the autocomplete of class names in doc blocks doesn't seem to recognize class names that aren't in the current file.

For example, if I type
$myVar = new MyClassNa{TAB}

the system will recognize the referenced class as MyClassName and even include the use statement in the namespaces to include it.

However, when I type this...

/** @var MyClassNa{TAB} */
$myVar = something;

When I hit the tab, nothing happens. OPTION+SPACE shows me "No Definition Found". I use intellephense addon as well, so I'm not sure which one should be handling this. Is this a bug? Or do I just need to configure something?

@remiDupuy
Copy link

Hello,

Same thing for me !
I don't have any completin for the tag @var, @param... etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants