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
With microsoft/TypeScript#55815, we see auto-import suggestions for files matched through wildcard paths in "exports" of dependencies' package.json files.
Upon disabling built in typescript server and enabling Volar however so it runs in takeover mode, these import suggestions seem to disappear, regardless of what TypeScript version is in use.
My suspicion is Volar internally is using some slightly different tsconfig settings to those in my tsconfig.json to produce intellisense results. For example, it seems you need to use a tsconfig.json compilerOptions setting such as module: "nodenext" or "node16" in order for package.json "exports" to be parsed and used for auto-import suggestions under standard built in typescript language server.
The text was updated successfully, but these errors were encountered:
Repro: repro.zip
Screen.Recording.2023-10-04.at.6.28.37.pm.mp4
With microsoft/TypeScript#55815, we see auto-import suggestions for files matched through wildcard paths in "exports" of dependencies' package.json files.
Upon disabling built in typescript server and enabling Volar however so it runs in takeover mode, these import suggestions seem to disappear, regardless of what TypeScript version is in use.
My suspicion is Volar internally is using some slightly different tsconfig settings to those in my tsconfig.json to produce intellisense results. For example, it seems you need to use a tsconfig.json compilerOptions setting such as module: "nodenext" or "node16" in order for package.json "exports" to be parsed and used for auto-import suggestions under standard built in typescript language server.
The text was updated successfully, but these errors were encountered: