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

Annotation completion patchy #1512

Closed
micotodev opened this issue Jul 8, 2020 · 0 comments
Closed

Annotation completion patchy #1512

micotodev opened this issue Jul 8, 2020 · 0 comments

Comments

@micotodev
Copy link

Currently using PS 2020.1.2 with a Symfony 5.1 project.

Apologies if this is a duplicate issue or if PEBCAK, but certain parts of the project, annotation completion is not working.

/**
* @Route(<caret here>)
*/

I trigger auto complete at the caret position, and get 'No suggestions'.

I have PHP Toolbox and Annotations installed, along with the Symfony plugin with a forced invalidated cache and reset index. I am also using the correct Route class (use Symfony\Component\Routing\Annotation\Route;).

Still no luck?

As far as I am aware, the only place this works is in the entity. This is for all other annotated classes not just the Route e.g. @Security, @IsGranted.

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

1 participant