-
Notifications
You must be signed in to change notification settings - Fork 171
Closed as not planned
Description
Issue Overview
Many Angular / Nx workspaces keep their compiler options in tsconfig.app.json
, while the root-level tsconfig.json
only contains build references.
typescript-language-server
starts tsserver with its default project discovery logic, so it always loads the nearest file literally named tsconfig.json and ignores the options in tsconfig.app.json. This leads to incorrect diagnostics, auto-imports and inlay hints inside the editor.
Expected behaviour
Provide a way, CLI flag, initializationOptions, or automatic detection, for the language server to ask tsserver to treat tsconfig.app.json (or any user-specified filename) as the primary project file.
Actual behaviour
No such override exists. The server loads tsconfig.json and never reads the settings in tsconfig.app.json.
Metadata
Metadata
Assignees
Labels
No labels