Visual Studio 2019进入定义状态并且Intellisense无法正常工作 [英] Visual studio 2019 go to definition and Intellisense not working

查看:1014
本文介绍了Visual Studio 2019进入定义状态并且Intellisense无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到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.

我尝试了以下操作:

  1. 删除.vs文件夹并重新启动.
  2. 重新安装了Visual Studio
  3. 通过工具下的导入和导出设置重置设置

任何其他建议将不胜感激.

Any other suggestions will be appreciated.

推荐答案

  1. 关闭Visual Studio
  2. 删除.vs文件夹(它是包含解决方案* .sln的文件夹中的隐藏文件夹)
  3. 启动Visual Studio
  1. Close Visual Studio
  2. Delete .vs folder (it is a hidden folder inside the folder which contains the solution *.sln)
  3. 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屋!

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