-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Have go-to-def flip between partial definition and implementation #76187
Conversation
@@ -251,6 +249,24 @@ async ValueTask<ImmutableArray<DefinitionItem>> GetInterceptorDefinitionsAsync( | |||
}); | |||
} | |||
} | |||
async ValueTask<INavigableLocation?> TryGetOtherPartOfPartialAsync() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix in followup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just trying to understand the status. Does this fix the problem where F12-ing a generated |
F12 on a partial will take you to one of the parts of the partial. F12 on that partial will take you to the other part (and vice versa). So you can trivially navigate to whichever you prefer.
A bot adds that information when this merges into the main vs tree. |
Fixes #76156