从Visual Studio浏览.NET Framework源代码 [英] Browsing the .NET Framework source code from Visual Studio

查看:114
本文介绍了从Visual Studio浏览.NET Framework源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我可以将Visual Studio设置为通过.NET框架源代码进行调试

但是有一种方法可以我可以在不调试的情况下浏览代码-即,可以按F12键或转到定义键?

But is there a way that I can browse the code while NOT debugging - i.e., being able to press F12 or "Go to definition"?

我认为如果Visual Studio中未内置该功能Studio可能会有一个插件可以添加它?

I thought that if that feature isn't built into Visual Studio then there may be a plug-in that might add it?

推荐答案

我刚刚发现此扩展程序可以解决我的问题。唯一的事情是它在浏览器而不是Visual Studio中打开源代码,但这没什么大不了的,因为即使在浏览器中,您也可以单击源代码以导航到类型等。

I just discovered this extension that pretty much addresses my problem. The only thing is that it opens the source in the browser rather than in Visual Studio, but it's no big deal because even in the browser you can click the source code to navigate to types etc.

它是几天前在Scott Hanselman的博客上呈现的


社区成员和出色的编码器 Schabse Laks 为VS2010创建了Visual Studio扩展,2012和2013!此扩展将调用转到定义(或在符号上按F12键)的命令直接发送到在线代码(如果是.NET Framework代码,而不是您的代码)。

Community member and fabulous coder Schabse Laks has created a Visual Studio extension for VS2010, 2012, and 2013! This extension sends calls to Go To Definition (or pressing F12 on a symbol) directly to the code online (when it's .NET Framework code, not yours).

您可以立即下载此伴侣 Ref12 Visual Studio扩展!只要找到我们拥有源代码的任何.NET类型的Goto Definition,它就会启动您的默认浏览器,以便您可以自己探索.NET Framework源代码!谢谢沙伯!

You can download this companion "Ref12" Visual Studio Extension now! Just Goto Definition on any .NET type we have source for and it'll launch your default browser so you can explore the .NET Framework source yourself! Thanks Schabse!

这篇关于从Visual Studio浏览.NET Framework源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆