FuGetGallery icon indicating copy to clipboard operation
FuGetGallery copied to clipboard

[Feature request] Use sourcelink to show the source code

Open thomaslevesque opened this issue 6 years ago • 2 comments

Currently the "Code" tab shows decompiled sources. This is pretty cool, but what would be even better would be to use source information generated by sourcelink (or a similar solution) to show the actual source code.

This would require:

  • finding the PDB files (either included in the package, embedded in the assemblies (with the embedded PDB format)), or served by a symbol server
  • reading the PDB to determine where the source files are stored
  • fetching the source files (typically from Github)

thomaslevesque avatar May 04 '19 13:05 thomaslevesque

This seems like a good build, but I think we should keep decompilation as a fallback.

In addition, it would be nice to be able to use sourcelink to provide hyperlinks to the source code so that for non-public repositories this could still be used for those who do have access.

madelson avatar Feb 09 '21 11:02 madelson

but I think we should keep decompilation as a fallback.

Yes, of course

thomaslevesque avatar Feb 09 '21 12:02 thomaslevesque