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
This has been proposed in TypeScript before but was rejected(microsoft/vscode#12463, microsoft/TypeScript#11224). While the tsconfig searching in svelte-language-server is currently not entirely controlled by TypeScript, it is better to stay consistent with TypeScript as It'll introduce inconsistencies between js/ts files and svelte files. Can you share why you can't use tsconfig.json? Alternatively, you can create multiple tsconfig in different directories with different include configs. Or use a solution style tsconfig to reference a tsconfig with a name other than "tsconfig.json".
Another extends the first but removes the references.
In CI, I'm using the second TSConfig, and I’d like the VSCode extension to use it as well.
Edit: I want to keep the TSConfig with project references because I'm using Nx with the TypeScript plugin. This plugin automatically updates all TSConfig files in the monorepo and sets project references based on package dependencies https://nx.dev/nx-api/js/generators/typescript-sync
Description
svelte-check
with a custom --tsconfig path. However, the VSCode extension uses the default one (tsconfig.json)Proposed solution
Add an extension configuration to set the tsconfig path.
Alternatives
No response
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: