Is there any way to see a Nuget Package's source code when we choose "Go to Definition" (or F12 or CRTL+click)? At this time, I click (CRTL+click) on some class from Nuget Package in my code and the vscode shows me an assembly summary [metadata], where I can see only docs and methods signature. I'd like to see all the source code from this class. Is there some extension I need to install or I misunderstood some config?
I believe you can now do this with source link enabled libraries (nuget packages included).
You can have a look at these .NET blog posts from Claire:
With Source Link-enabled libraries, the debugger can download the underlying source files as you step in, and you can set breakpoints/tracepoints like you would with any other source.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With