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

Better handle methods in partial classes that don't have sequence points #64337

Merged
merged 4 commits into from
Sep 30, 2022

Conversation

davidwengier
Copy link
Contributor

This doesn't fix all of #59713 but it does improve some scenarios. Basically we weren't correctly navigating the user correctly when there are multiple files, in cases where we had more context about where to navigate to (eg, a method to navigate to) but didn't have specific document info about that (eg, a method with no sequence points). This improves that scenario.

There is still a better fix for that issue though, allowing the user to choose where to navigate to when necessary, so will leave it open, but this should actually fix the issue reported by the customer in https://developercommunity.visualstudio.com/t/F12-on-C-extension-method-partial-clas/10152882

Copy link
Member

@tmat tmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@davidwengier davidwengier enabled auto-merge (squash) September 29, 2022 03:11
@davidwengier
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@davidwengier davidwengier merged commit 4da81cf into dotnet:main Sep 30, 2022
@ghost ghost added this to the Next milestone Sep 30, 2022
@davidwengier davidwengier deleted the NavigateToTheRightDocument branch September 30, 2022 23:44
@RikkiGibson RikkiGibson modified the milestones: Next, 17.5 P1 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants