File->New Project (console project)
Change analysis level (flip from high to limited or vice versa)
Add blah.js
blah.js add:
exports.foo = 42
Check completions, require('./blah.js').foo in app.js
Change analysis level to high or limited (whatever is opposite)
in app.js check require('./blah.js').foo again
Get no completions
Comments: I can't complete the verification on build 20926.01 and VS actually crashes after an exception when i tried to switch back from "Quick analysis“ to "Full analysis" in the 2nd part of the repro. This was on VS2013 with update4 CTP2. The callstack is listed below: Microsoft.NodejsTools.dll!Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer.GetOrCreateProjectEntry(Microsoft.VisualStudio.Text.ITextBuffer buffer, Microsoft.NodejsTools.Analysis.IAnalysisCookie analysisCookie) Unknown Microsoft.NodejsTools.dll!Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer.ReAnalyzeTextBuffers(Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer.BufferParser bufferParser) Unknown Microsoft.NodejsTools.dll!Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer.SwitchAnalyzers(Microsoft.NodejsTools.Intellisense.VsProjectAnalyzer oldAnalyzer) Unknown Microsoft.NodejsTools.dll!Microsoft.NodejsTools.Project.NodejsProjectNode.IntellisenseOptionsPageAnalysisLevelChanged(object sender, System.EventArgs e) Unknown Microsoft.NodejsTools.dll!Microsoft.NodejsTools.Options.NodejsIntellisenseOptionsPage.AnalysisLevel.set(Microsoft.NodejsTools.Options.AnalysisLevel value) Unknown Microsoft.NodejsTools.dll!Microsoft.NodejsTools.Options.NodejsIntellisenseOptionsControl.SyncPageWithControlSettings(Microsoft.NodejsTools.Options.NodejsIntellisenseOptionsPage page) Unknown Microsoft.NodejsTools.dll!Microsoft.NodejsTools.Options.NodejsIntellisenseOptionsPage.SaveSettingsToStorage() Unknown Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.VisualStudio.Shell.DialogPage.OnApply(Microsoft.VisualStudio.Shell.DialogPage.PageApplyEventArgs e) Unknown Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.VisualStudio.Shell.DialogPage.DialogSubclass.WndProc(ref System.Windows.Forms.Message m) Unknown System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg, System.IntPtr wparam, System.IntPtr lparam) Unknown [Native to Managed Transition] [Managed to Native Transition] Microsoft.VisualStudio.Shell.12.0.dll!Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(string verb, object pvaIn, out object pvaOut) Unknown Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(object parameter) Unknown PresentationFramework.dll!MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource commandSource, bool userInitiated) Unknown PresentationFramework.dll!System.Windows.Controls.MenuItem.InvokeClickAfterRender(object arg) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown