Visual Studio Express 2015(C#)中的Intellisense损坏 [英] Intellisense is broken in Visual Studio Express 2015 (C#)
问题描述
通常,我应该可以使用ctrl + space来打开它,但是它不再起作用.同样,当将光标放在未完成的成员(例如" string.Emp ")上时,按Ctrl +空格键将不再使单词完整.
Normally I should be able to open it with ctrl+space but that no longer works. Also when placing the cursor on a half finished member (e.g. "string.Emp") ctrl + space does no longer complete the word.
在选项声明完成"中, >自动列出成员"和参数信息"以及完成列表" >选中键入字符后显示完成列表",我什至 取消选中它们,保存选项,然后再次选中它们,但这没什么区别.
In the options "Statement Completion" >"Auto list members" and "Parameter information" as well as "Completion Lists" > "Show completion list after a character is typed"are all checked and I even unchecked them, saved options and then checked them again but it made no difference.
我最近安装了Visual Studio Express 2015,并且未添加任何扩展名.
I have installed Visual Studio Express 2015 recently and added no extensions.
是否可以解决Intellisense?
Is there a way to fix Intellisense?
推荐答案
lshiirou,
欢迎访问MSDN论坛.
您的VS Express 2015版本是什么?我尝试为Windows 10安装VS express 2015,并创建一个新的C#项目,然后键入示例字符"string.emp",然后单击Ctrl + Space, 它会自动用string.Empty完成单词.
What’s your VS express 2015 version? I tried to install the VS express 2015 for windows 10 and create a new C# project and type the example characters "string.emp" and click Ctrl+Space, it auto complete word with string.Empty.
请查看以下步骤来解决此问题:
- 输入示例字符"string.emp",然后按Tab或Space键,如果两者都可以完成单词,则看来关键字Ctrl + Space无效,请转到工具-环境-关键字,然后检查Edit.CompleteWord的关键字 被定义为Ctrl + Space.如果按Tab键可以补全单词,但按Space键则不能补全单词,请检查智能提示是否处于建议"模式下,如以下屏幕截图所示.在建议"模式下,完整单词"仅在以下情况下插入选定的关键字: 按下Tab键,因此您无法使用Ctrl +空格键来完成单词.有关此信息,请检查 完整的单词.
- Type the example characters "string.emp" and press Tab or Space key, if both can complete word, it looks like the keyword Ctrl+Space not work, please go to Tools-Environment-Keyword and check the keyword of Edit.CompleteWord is defined as Ctrl+Space. If press Tab key can complet word, but press Space key cannot, please check if the intellisense is under Suggestion mode like the following screenshot. In Suggestion mode, Complete Word will insert the selected keyword only when the Tab key is pressed, so you cannot use Ctrl+Space to complete word. For this information, please check Complete Word.
VSWinExpress/resetuserdata:清除旧的用户数据 VSWinExpress/safemode:以安全的方式运行VS,如果可以正常运行,则意味着已安装的扩展程序可能已损坏VS,请转到工具-扩展程序和更新…,然后
VSWinExpress /safemode: run the VS as safe, if it works fine that means the installed extensions may be corrupted the VS, please go to Tool—Extensions and Updates… and
remove all installed extensions one by one to find the culprit. 最好的问候, 萨拉 这篇关于Visual Studio Express 2015(C#)中的Intellisense损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!