You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeScript: New class in second project is only recognized by intellisense after restart #37304
Matt Bierner (@mjbvz) yes, it reproduces in latest VS Code insiders build. See the following sample and follow the steps in ./Project2/src/class2.ts to reproduce the issue.
When project is opened, we do not watch for changes to referenced project's files (added or removed files) which results in this. Would need some change in how we watch the referenced project's wild card directories.
Activity
mjbvz commentedon Mar 9, 2020
@Hopfenspirger Does this reproduce in the latest VS Code insiders build, which includes TS 3.8?
If so, can you please share a small example project that demonstrates this?
mahop-net commentedon Mar 10, 2020
Matt Bierner (@mjbvz) yes, it reproduces in latest VS Code insiders build. See the following sample and follow the steps in ./Project2/src/class2.ts to reproduce the issue.
VsCode.zip
Griffork commentedon Mar 10, 2020
@Hopfenspirger does it work after a full build?
mahop-net commentedon Mar 11, 2020
What do you mean with full build?
(starting a full tsc build from the command line is working... It's only a problem for intellisense...)
sheetalkamat commentedon Jul 24, 2020
When project is opened, we do not watch for changes to referenced project's files (added or removed files) which results in this. Would need some change in how we watch the referenced project's wild card directories.
Griffork commentedon Jul 30, 2020
Sorry for the late reply but I've found that doing build->build solution sometimes refreshes intellisense, causing new files to be picked up.