简体   繁体   English

如何通过单击F12在Visual Studio 2015中查看依赖项的源代码?

[英]How to view source code of dependencies in Visual Studio 2015 by clicking F12?

Clicking F12 on functions from some of dependencies always results with some, often useless, list of variables and methods of class: 从某些依赖项中的函数上单击F12始终会产生一些(通常是无用的)变量和类方法的列表:

从依赖项之一单击类上的F12后看到的内容

It of course provides some brief explanation/summary of what code does, but I often need some more details, preferably: see the code. 它当然提供了有关代码功能的简要说明/摘要,但是我经常需要更多详细信息,最好:请参见代码。

Since ASP.net is open-source now , I wonder if there was some possibility to view actual source code of class (using F12 button) instead of showing this metadata. 由于ASP.net 现在是开源的 ,所以我想知道是否有可能查看类的实际源代码(使用F12按钮)而不是显示此元数据。 Is there some plugin for that? 有一些插件吗?

I've found some interesting Visual Studio extension. 我发现了一些有趣的Visual Studio扩展。 It basically do what I wanted. 它基本上可以满足我的要求。

Ref12 REF12

It unfortunately doesn't support every .NET classess (especially those from the new asp.net core seems to be missing), but it will definitely be useful either way. 不幸的是,它不支持每个.NET类(尤其是缺少了来自新的asp.net核心的类),但是无论哪种方式,它肯定都是有用的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio转到定义(F12)打开对象浏览器而不是代码视图 - Visual Studio Go to Definition (F12) opens Object Browser instead of Code View 如何隐藏<summary>在 Visual Studio 代码中按 F12(转到定义)时的 [元数据]</summary> - How to hide <summary> in [metadata] when press F12 (Go to definition) in visual studio code 如何使用F12在Visual Studio中查看C#代码详细信息? - How to see the c# code detail in visual studio using F12? 当按F12进入Visual Studio 2015 / C#中的定义时出现错误 - I got error when press F12 Go to definition in Visual Studio 2015 / C# 使用C#获取Web的开发人员模式源代码(F12)(Web的动态源) - Get Developer Mode Source Code (F12) of a Web Page using C# (Dynamic Source of a web) Visual Studio Dom Explorer和IE F12工具Dom Explorer之间的区别 - Difference between Visual Studio Dom Explorer and I.E. F12 tools Dom Explorer 是否有任何附加组件/扩展可以让我在 Visual Studio 中 F12 存储过程? - Are there any add-ons/extensions that would let me F12 stored procedures in Visual Studio? 如果我只有 DLL 和 PDB 文件,有没有办法在按 F12 时浏览源代码? - Is there a way to browser Source Code when pressing F12 if I only have the DLL and PDB files? 如何按键执行字符串(F12)? - How to execute a string by key (F12)? VS2010 C#:如何在按F12键时查看内部​​类的定义? - VS2010 C#: How to view internal classes definitions when I press F12?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM