gpt4 book ai didi

visual-studio - 代码定义窗口在 VS2015 中不起作用

转载 作者:行者123 更新时间:2023-12-01 16:51:15 24 4
gpt4 key购买 nike

刚刚升级到 Visual Studio 2015,代码定义窗口无法正常工作。无论我选择什么,它都只是说“未选择定义”。项目是用 C# 编写的 Windows 窗体。

  • “转到定义”和“查看定义”工作正常
  • 回到 VS2013 尝试一下,仍然可以正常工作
  • 尝试在VS2015中创建一个全新的项目,看看是否与项目相关,但事实并非如此
  • 与几位同事核实过,这对他们来说也不起作用

我有一种感觉,这要么是 VS2015 中的错误,要么是某种配置更改。

有人找到了配置它的方法,或者任何类型的解决方法来让它重新启动并运行吗?

最佳答案

我收到了 Microsoft 对我的错误报告的回复。事实证明它没有实现,而且可能永远不会实现:

Hi,

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.

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

这是 Kevin 在 7 月份针对我的错误报告创建的 github 问题:https://github.com/dotnet/roslyn/issues/4224

关于visual-studio - 代码定义窗口在 VS2015 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31718303/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com