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
I am developing a TypeScript Language Service Plugin that loads CSS files using @volar/typescript.
In VS Code, you can create a new file via "New File...". Immediately after creation, it is not yet saved to the file system, and this state is called "untitled".
@volar/typescript appears unable to handle these untitled files correctly.
...
Info 112 [22:51:56.697] Loading typescript-plugin-css-modules from /Users/mizdra/src/localhost/gomi/repro-volar-untitled-non-ts-file/packages/vscode (resolved to /Users/mizdra/src/localhost/gomi/repro-volar-untitled-non-ts-file/packages/vscode/node_modules)
Info 113 [22:51:56.697] Plugin validation succeeded
Info 114 [22:51:56.698] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
Err 115 [22:51:56.698] languageId not found for ^/untitled/ts-nul-authority/Untitled-1
...
I am developing a TypeScript Language Service Plugin that loads CSS files using
@volar/typescript.In VS Code, you can create a new file via "New File...". Immediately after creation, it is not yet saved to the file system, and this state is called "untitled".
@volar/typescriptappears unable to handle these untitled files correctly.How to reproduce
minimum reproduction: https://github.com/mizdra/repro-volar-untitled-non-ts-file
git clone git@github.com:mizdra/repro-volar-untitled-non-ts-file.git cd repro-volar-untitled-non-ts-file npm i.foo {}in the fileCSS2025-08-26.22.42.14.mov
Additional information
languageId not foundwarning was output totsserver.log. It might be related to this issue.volar.js/packages/language-core/index.ts
Line 57 in 762323e