Visual Studio - 从元数据查看类型 [英] Visual Studio - view type from metadata

查看:53
本文介绍了Visual Studio - 从元数据查看类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得在我以前安装的 Visual Studio 中,当我在当前解决方案中没有的类型上使用转到定义"选项时,它会显示一个选项卡,显示从元数据反映的类型.我当前的安装直接进入对象浏览器.我更喜欢看到元数据版本.

I remember that in previous installations of Visual Studio that I had, when I used the 'go to definition' option on a type that was not in the current solution it would display a tab showing the type as reflected from metadata. My current installation goes directly to the Object Browser. I prefered seeing the metadata version.

有没有办法选择默认行为,或者这是否会在 VS 版本之间发生变化?

Is there any way of choosing what the default behaviour is, or is this something that changed between versions of VS?

提前致谢!

推荐答案

尤里卡!

代码定义窗口是一个只读的编辑器视图,它显示存储在活动项目中或由活动项目引用的代码文件中的符号定义.要显示此窗口,请从代码定义窗口中选择视图菜单.当窗口第一次打开时,它显示最后一个选定符号的定义.如果没有定义可用,则显示未选择的定义.该窗口可以停靠在集成开发环境 (IDE) 的任何方便的边缘.默认情况下,它显示在代码编辑器下方."

这篇关于Visual Studio - 从元数据查看类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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