Skip to content

Commit

Permalink
microsoft#63 IntelliSense disappears after closing VS when there is an
Browse files Browse the repository at this point in the history
incomplete statement in the editor
- Fixes an issue where we were we were inadvertently unloading
  built-in modules from analysis in some scenarios.
  • Loading branch information
mousetraps committed Sep 10, 2015
1 parent 1202555 commit 217827e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Nodejs/Product/Nodejs/Intellisense/VsProjectAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,8 @@ public void ReloadComplete() {
}

foreach (var item in _projectFiles) {
if (!File.Exists(item.Value.Entry.FilePath) || (!item.Value.Reloaded && !item.Value.Entry.IsBuiltin)) {
if ((!File.Exists(item.Value.Entry.FilePath) || !item.Value.Reloaded)
&& !item.Value.Entry.IsBuiltin) {
UnloadFile(item.Value.Entry);
}
}
Expand Down

0 comments on commit 217827e

Please sign in to comment.