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

Go to definition does not support services with FQCN ids shortcuts #952

Closed
stof opened this issue Jun 13, 2017 · 2 comments
Closed

Go to definition does not support services with FQCN ids shortcuts #952

stof opened this issue Jun 13, 2017 · 2 comments
Labels

Comments

@stof
Copy link
Contributor

stof commented Jun 13, 2017

As of Symfony 3.3, it is possible to omit the class configuration for a service in XML and YAML file, and the id itself will be used to configure the class (this does not work for class in the global namespace, only for service ids with a \ in them).

It would be great if the bundle could support this shortcut syntax:

  • providing "Go to definition" when clicking on the id in such case
  • providing proper type completion
@stof
Copy link
Contributor Author

stof commented Jun 13, 2017

Actually, it looks like the service gets indexed properly already, but we are missing the navigation (probably because it is built to let us click on the class attribute only, and there is no class attribute anymore)

@stof
Copy link
Contributor Author

stof commented Jun 23, 2017

Note that classes in the global namespace are allowed to be used as service ids, but you have to configure the class explicitly for this.

Haehnchen added a commit that referenced this issue Jul 6, 2017
…n does not support services with FQCN xml ids shortcuts #952
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants