Add configured projects to the list of projects when searching

This commit is contained in:
Mohamed Hegazy
2016-04-23 14:10:26 -07:00
parent 5ed6f30f1f
commit 39d64a2709
3 changed files with 34 additions and 0 deletions

View File

@@ -919,6 +919,7 @@ namespace ts.server {
configuredProject.updateGraph();
if (configuredProject.getSourceFile(info)) {
info.defaultProject = configuredProject;
referencingProjects.push(configuredProject);
}
}
return referencingProjects;