Visual Studio 2019进入定义状态并且Intellisense无法正常工作 [英] Visual studio 2019 go to definition and Intellisense not working
问题描述
我注意到Visual Studio 2019 v16.0.1出现了一个怪异的问题,有关使用指令是不必要的"的IntelliSense通常缺少灰色,并且缺少使用的类型引用建议也不起作用.
I have noticed a weird issue with Visual Studio 2019 v16.0.1 the IntelliSense about "Using directive is unnecessary" normally grey is missing and type reference suggestion for missing using is not working.
我也尝试过使用Visual Studio 2019 Preview,但没有运气.
I also tried with Visual Studio 2019 Preview but no luck.
我尝试了以下操作:
- 删除.vs文件夹并重新启动.
- 重新安装了Visual Studio
- 通过工具下的导入和导出设置重置设置
任何其他建议将不胜感激.
Any other suggestions will be appreciated.
推荐答案
- 关闭Visual Studio
- 删除
.vs
文件夹(它是包含解决方案* .sln的文件夹中的隐藏文件夹) - 启动Visual Studio
- Close Visual Studio
- Delete
.vs
folder (it is a hidden folder inside the folder which contains the solution *.sln) - Start Visual Studio
解决了我的问题
注1:我正在使用Visual Studio 2019,但它可能在其他版本上运行
注意2:这不能解决OP问题,但是它是解决您的问题的不错的选择
NOTE 1: I am using Visual Studio 2019, but it may work on other versions
NOTE 2: This did not solve the OP problem, but it is a good candidate to solve your
这篇关于Visual Studio 2019进入定义状态并且Intellisense无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!