Intellisense不起作用 [英] Intellisense not working
问题描述
我正在从服务器ASP.net和VB代码隐藏文件中打开文件,并且我的Visual Studio无法正常工作,Intellisense已死,如果我右键单击转到防御"选项,则该功能已禁用.这些文件不是解决方案的一部分.
I am opening files from a server ASP.net and the VB codebehind files, and my visual studio is not working correctly, Intellisense is dead and if i right click the "Go to defenition" option is disabled. These files are not part of a solution.
这很奇怪,因为昨天它工作正常.如果我创建一个新项目,智能感知效果很好,但是打开此单个文件将失败.
This is strange though because it was working properly yesterday. If I create a new project the intellisense works great, yet opening this single file it fails.
我试图通过重置Visual Studio来重新启用智能感知,我尝试编辑文本编辑器设置,以便同时检查自动列表成员和参数信息.我什至尝试安装ReSharper,但没有任何效果.我已经重启了两次,甚至尝试将文件复制到本地驱动器上,但什么也没做.
I have tried to re enable intellisense by resetting visual studio, I tried editing the text editor settings so that Auto list members and Parameter information are both checked. I even tried installing ReSharper and nothing worked. I have rebooted twice and even tried copying the file to a local drive to work on yet nothing.
有人知道为什么会这样吗,我该怎么做才能解决问题?我正在处理一个相当复杂的问题,而智能感知将使事情变得容易得多.
Does anyone know why this is happening and what I could do to solve the problem? Im working on a rather complex problem and intellisense would make it a lot easier.
推荐答案
我设法解决了这个问题,该问题在我的ReSharper试用期结束后就显现出来了.
I managed to fix this problem which manifested itself after my ReSharper trial expired.
要解决的步骤是:
- 工具/导入和导出设置
- 重置所有设置
- 备份您的配置
- 选择环境设置并完成
Intellisense立即重新开始工作.
Intellisense started working again straight away.
这篇关于Intellisense不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!