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

Peek definition on tuple element goes to the element itself, not the corresponding variable #65632

Open
vsfeedback opened this issue Nov 28, 2022 · 0 comments
Assignees
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
When using "Peek definition" on an element of a tuple, and that element is a variable, peek definition doesn't go to the variable definition as expected (and as "Go to definition" does), but to the tuple element itself.

For example, if we have this:

string stuff = "Something";
var tuple = ("Meow", stuff);

And on "stuff" in the second line we do right-click -> "Peek Definition", the peek definition view goes to "stuff" in the second line, not to the variable "stuff" definition in the first line:

image.png


Original Comments

Feedback Bot on 11/28/2022, 00:38 AM:

(private comment, text removed)


Original Solutions

(no solutions)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 28, 2022
@mavasani mavasani added Bug and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 19, 2023
@mavasani mavasani added this to the 17.10 milestone Oct 19, 2023
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

3 participants