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

Find references works only when definition is selected #132

Closed
mniewrzal opened this issue Nov 2, 2016 · 3 comments
Closed

Find references works only when definition is selected #132

mniewrzal opened this issue Nov 2, 2016 · 3 comments

Comments

@mniewrzal
Copy link
Contributor

For example if class name is selected in use statement then Find All references show no results. For the same element Go to Definition is working (element can be resolved).

@felixfbecker
Copy link
Owner

Working as intended, references themselves cannot be "referenced". Only definitions can be referenced, so you can only get the references of a definition.

@mniewrzal
Copy link
Contributor Author

I understand but its more about usability. Now to find references you need go to element definition and then search for references. This is one additional move to do what you want. If e.g. class name in use statement can be resolved to definition then there is no obstacle to search for references of it.

@felixfbecker
Copy link
Owner

I will solve this with #54

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

No branches or pull requests

2 participants