代码定义窗口在VS2015中不起作用 [英] Code Definition Window not working in VS2015

查看:308
本文介绍了代码定义窗口在VS2015中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚升级到Visual Studio 2015,并且代码定义"窗口不起作用.无论我选择什么,它都只会显示未选择定义".项目是用C#编写的Windows窗体.

Just upgraded to Visual Studio 2015 and the Code Definition Window is not working.It just says "No definition selected" no matter what I select. Project is Windows Forms written in C#.

  • 转到定义"和窥视定义"效果很好
  • 回到VS2013进行试用,并且在那里仍然可以正常工作
  • 试图在VS2015中创建一个全新的项目,以查看它是否与项目相关,但是与项目无关
  • 咨询了几个同事,这对他们也不起作用

我觉得这可能是VS2015中的错误或某种配置更改.

I have a feeling this is either a bug in VS2015 or some sort of configuration change.

有人找到一种配置它的方法,还是进行任何形式的工作以使其重新启动并运行?

Anyone found a way to configure it, or any sort of work around to get it up and running again?

推荐答案

我收到了来自Microsoft的Bug报告的回复.事实证明它尚未实现,可能永远不会实现:

I got a reply from Microsoft on my Bug report. Turns out it's not implemented and possibly never will be:

基于VS2013中引入了"Peek Definition"这一事实, 结合遥测数据显示,只有很小一部分 用户曾经显示代码定义"窗口,我们决定不 作为Roslyn的一部分实施对它的支持.我已经对我们提出了一个问题 GitHub项目正在考虑将其复活.

Based on the fact that Peek Definition was introduced in VS2013, combined with telemetry data that shows that only a tiny percentage of users ever display the Code Definition Window, we decided not to implement support for it as part of Roslyn. I've filed an issue on our GitHub project to consider resurrecting it.

感谢您的举报! -Kevin Pilch-Bisson Visual Studio托管语言

Thanks for the report! -- Kevin Pilch-Bisson Visual Studio Managed Languages

以下是Kevin为回应我在7月份的错误报告而创建的github问题: https://github.com/dotnet/roslyn/issues/4224

Here´s the github issue Kevin created in response to my bug report in July: https://github.com/dotnet/roslyn/issues/4224

这篇关于代码定义窗口在VS2015中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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