如何打开智能感知在Visual Studio 2010中? [英] How to turn IntelliSense on in Visual Studio 2010?

查看:172
本文介绍了如何打开智能感知在Visual Studio 2010中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图启用aspx文件类型的智能感知。我在文本编辑选项选中自动列表成员。无论是检查隐藏高级成员与否没有什么区别?

I am trying to enable the intellisense for aspx file types. I checked auto list members in the texteditor options. Either checking hide advanced members or not makes no difference?

如何启用智能感知在2010年vs.net?

How can I enable intellisense in vs.net 2010?

推荐答案

,智能感知应为启用ASP.NET,包括.aspx文件。如果停止工作你有几个选项,如下表所示。尝试的第一或第二,只有当没有其他作品,请尝试最后的选择。

Out of the box, IntelliSense should be enabled for ASP.NET, including .aspx files. If it stopped working you have a couple of options, listed below. Try the first or second, and only if nothing else works, try the last option.


  1. 您可以从Visual Studio菜单试试这个:编辑>智能感知>刷新本地缓存

删除文件这个文件夹中:%APPDATA%\\漫游\\微软\\ VisualStudio的\\ 10.0 \\ ReflectedSchemas 键,重新启动Visual Studio

Delete the files in this folder: %AppData%\Roaming\Microsoft\VisualStudio\10.0\ReflectedSchemas and restart Visual Studio

如果没有别的工作,你在Visual Studio命令提示符下键入这个(这是你的开始菜单),然后按回车键: devenv的/ resetuserdata

If nothing else works, you type this in the Visual Studio Command Prompt (this is in your Start menu) and hit enter: devenv /resetuserdata

这最后一个选项是在这里记录MSDN上,有如下声明:

This last option is documented here on MSDN, with the following disclaimer:

免责声明:您将失去所有的环境设置和
  自定义如果您使用此开关。正是由于这个原因,此
  开关不正式支持微软不发布
  此开关公众(你不会看到这个开关,如果您键入
  devenv.exe的/?在命令提示符)。您应该只使用此开关
  作为最后的手段,如果你遇到的环境问题,
  请确保您通过导出他们的备份环境设置
  之前使用这个开关。

Disclaimer: you will lose all your environment settings and customizations if you use this switch. It is for this reason that this switch is not officially supported and Microsoft does not advertise this switch to the public (you won't see this switch if you type devenv.exe /? in the command prompt). You should only use this switch as the last resort if you are experiencing an environment problem, and make sure you back up your environment settings by exporting them before using this switch.

这篇关于如何打开智能感知在Visual Studio 2010中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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