5 ms·
I'm a long time Java developer who recently move to .NET. What I love about Java when it comes to this particular issue: open source, is how easy it is to get t
by edwinnathaniel 15y ago
I'm a long time Java developer who recently move to .NET. What I love about Java when it comes to this particular issue: open source, is how easy it is to get the source code, documentation, and to navigate around given 2 assumptions:
1) You're using Maven + Eclipse (haven't tried in other IDE)
2) The source code is available (in most cases, they are) in Maven repository
Here's a simple example: I'm using Spring and Guava and occasionally I'd like to navigate to the method I use. All I have to do is hit F3 on the method call and Maven will download the source code JAR (and the documentation JAR as well) and voila: I can easily see the source code and navigate around. Ditto with the dependency of the dependency.
I have to say that Maven + Eclipse provide massive productivity increase for me and my team.
Now, I did .NET in the past briefly back when .NET was in 2.0/3.0 era. I recalled it wasn't obvious how to associate even the core .NET library (Collections, etc) via VS.NET.
How easy it is to achieve a similar workflow in .NET these days?
- ghiculescu 15y agoResharper can do the same: http://www.jetbrains.com/resharper/ http://www.jetbrains.com/resharper/
- edwinnathaniel 15y agoReSharper can download source code over the internet or do I have to setup things manually? put them in the right place, etc?
- ctolkien 15y agoYou don't need ReSharper, you can step into the core .Net libs from Visual Studio and it will download what's required. If you want to step into the source code of other projects however, I don't think that scenario is handled yet. Perhaps a feature to be added to NuGet.
- TeHCrAzY 15y agoIts automatic. If it can't get the source, it will use its built in decompiler, and produce surprisingly readable source anyway (I force it to this mode by default, due to a flaky internet connection).
- edwinnathaniel 15y agoHow does ReSharper managed to locate the 3rd-party source code? Does ReSharper have their own source repository or some sort?
- solutionyogi 15y agoAs the parent listed, Resharper by default will download MS sources for BCL. For a third party, it will show the decompiled source.