自动完成停止在Node.js项目上工作

我遇到了一个恼人的错误,无论何时我input字符,intellisense都不会显示代码完成。 智能感知只会显示代码完成时,我使用快捷键ctrl + space

但是,当我在一个不同types的JavaScript项目工作,自动完成工作正常。

即使在以下情况下启用了语句完成,自动完成也不起作用:

  • 选项>文本编辑器>所有语言>自动列表成员+参数信息
  • 选项>文本编辑器> Javascript>自动列表成员+参数信息
  • 选项>文本编辑器> Node.js>自动列表成员+参数信息

我也试过:

  • 重新安装VS !.
  • 重新安装nodejs工具
  • 重新开始vs.
  • 重新打开我目前正在使用的文件。
  • 在一个新的Nodejs项目上工作。

我正在使用VS2013更新4。

我正在使用Resharper。

我正在使用Web Essentials进行更新4。

在Visual Studio中:

 Click Tools->Options->Text Editor->All Languages->General Uncheck "Auto list members" Uncheck "Parameter information" Check "Auto list members" (yes, the one you just unchecked) Check "Parameter information" (again, the one you just unchecked) Click OK 

如果这不起作用,请尝试以下几个步骤:

 If still not working, close all windows and reopen If still not working, close/reopen solution If still not working, restart VS. 

(我还没有弄清楚为什么在某些情况下需要采取更激烈的措施。)

 Tested in VS 2013 I found this to be much faster than rebooting VS 

这或多或less地通过T Driver提供的链接中的指示。

logging可能的原因:

 Copy/pasting controls on a page. I found that my designer.vb file didn't update from this, either. Copy/pasting code from another page that caused an error because the code copied referred to a control that wasn't on the page I was pasting to. 

(来自Tony L.的答案)