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
fix(language-server): Do best-effort to initialize composite project when HTML is opened first
An upstream TypeScript performance-motivated change (
microsoft/TypeScript@02b07a1) made it so composite projects are not opened unless the opened file is in the includes/files list of the `tsconfig`. This means that external HTML files do not trigger project loading when they are the first and only file opened.
As a best-effort, we attempt to open a TS file with the same name, which
will most often be the file for the component of the external template.
This is not guaranteed to be the case, so the only way to guarantee this
works correctly would be for developers to add the `**/*.html` files to
the `includes` list of their `tsconfig[.lib].json`.
resolves#2149
0 commit comments