-
Notifications
You must be signed in to change notification settings - Fork 4k
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 multiple definitions from Source Link in GTD #59713
Comments
https://github.com/TerraFX/TerraFX is a good sample project for this. |
Worth considering https://github.com/dotnet/roslyn/pull/61205/files/90898165014cc3339697e13898261a56c1e1106d#r874908155 when this is done, as it will likely involve more UI affecting oddness |
+1 to this, I've just hit this with ComputeSharp.D2D1.Uwp (https://github.com/Sergio0694/ComputeSharp), as I have the So essentially I'm completely unable to open the source for any of those methods and set breakpoints there 🥲 |
A single type could be spread over multiple source files, but Roslyn currently only supports navigating to one initially. Subsequent navigations correctly bring up the Find References window and allow the user to select .
Right now you can workaround this limitation by executing a GTD on a type symbol, for example, and then F12ing again on the type symbol once you have been navigated.
When a source link file is opened from the Find References window in this way, and presumably once the multiple results work up front, the tab for the document is not correct, and the tab is not opened as readonly.
The text was updated successfully, but these errors were encountered: