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

Support to view source code #169

Closed
HaoLife opened this issue Sep 18, 2018 · 8 comments
Closed

Support to view source code #169

HaoLife opened this issue Sep 18, 2018 · 8 comments
Labels
Milestone

Comments

@HaoLife
Copy link

HaoLife commented Sep 18, 2018

Is it possible to support viewing the source code, similar to Java's download sources.

@tmat
Copy link
Member

tmat commented Sep 18, 2018

@chuckries

@chuckries
Copy link
Contributor

@HaoLife Can you explain what Java's download sources is? Source Link allows C# debugger (such as Visual Studio) to download source code during a debug session.

@ctaggart
Copy link
Contributor

@chuckries It should also be possible in Visual Studio to "Navigate to Source" or something along those lines from the editor. Visual F# Power Tools added this feature back in SourceLink v1 (source indexing) days. https://fsprojects.github.io/VisualFSharpPowerTools/navigatetosource.html

Before that, ReSharper also had the ability to view the source from the Object Browser if symbols were available and source indexing was set up.

These would be awesome to see in Visual Studio. I'd prefer the source be brought up directing in Visual Studio. @HaoLife, is this kind of what you are looking for?

@tmat
Copy link
Member

tmat commented Sep 18, 2018

SourceLink support for Go To Definition is tracked here: dotnet/roslyn#24349

@HaoLife
Copy link
Author

HaoLife commented Sep 21, 2018

@ctaggart Yes, we need a tool that navigates directly to the source in the IDE so that we can analyze the underlying implementation and debug the current code directly at run time.
@chuckries Java in the IDE to download the source code, can be directly in the current project to view the source code, such as the JDK source code, observe these implementations, can improve their development capabilities, and. NET to view the source code is complex, we need to use the Anti-compilation tool (Ilspy) or from git to get the source code

I think it has a positive effect on the development of the community and can benefit more. NET Developers

@athinboy
Copy link

@athinboy
Copy link

athinboy commented Nov 22, 2018

oh my god! It is true, definitely true! It is so obviously!

"
@chuckries Java in the IDE to download the source code, can be directly in the current project to view the source code, such as the JDK source code, observe these implementations, can improve their development capabilities, and. NET to view the source code is complex, we need to use the Anti-compilation tool (Ilspy) or from git to get the source code

I think it has a positive effect on the development of the community and can benefit more. NET Developers

"

@tmat
Copy link
Member

tmat commented Nov 4, 2019

Closing as external to Source Link - once the library has Source Link or embedded sources, the IDEs can certainly provide a rich source browsing experience.

@tmat tmat closed this as completed Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants