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 References should be Go To Usages #231714

Closed
dailytabs opened this issue Oct 19, 2024 · 5 comments
Closed

Go to References should be Go To Usages #231714

dailytabs opened this issue Oct 19, 2024 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@dailytabs
Copy link

When I use "Go to References", I would like to ignore definitions.

Currently, if a method is used only once, when using Go To References, a menu pops up showing the definition and the single usage.

I do not consider a definition to be a reference and do not feel like this menu should come up. Instead, I would much prefer if the single usage was directly opened.

Even if there are multiple usages, I do not want to see the definition listed as a reference - that's what Go To Definition is for.

Please convert Go to References to (or add) Go To Usages, which is 10x more helpful and better language.

P.S. When I use Go To Definition, while cursor is on the definition, I get the identical results as Go To References. This is idiotic. It should NEVER show a usage when using Go to Definition. This whole system is absurd!

@gjsjohnmurray
Copy link
Contributor

Which language?

@RedCMD
Copy link
Contributor

RedCMD commented Oct 19, 2024

Javascript does
Image

function definition() {
	return;
}

definition();
definition();

@gjsjohnmurray
Copy link
Contributor

Previously 114673 but this is now closed and locked.

Pinging @mjbvz

@jrieken jrieken added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 9, 2024
@jrieken
Copy link
Member

jrieken commented Dec 9, 2024

#114673

Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants