-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
ExternalRelates to another program, environment, or user action which we cannot control.Relates to another program, environment, or user action which we cannot control.
Description
Acknowledgement
- I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment
Issues: vuejs/language-tools#3951, vuejs/language-tools#1815
For the root file, tsserver selects the last matching tsconfig in the list of tsconfig references for it.
But for external files, tsserver selects the first matching tsconfig in the list of tsconfig references for it.
Steps to reproduce
- Clone segevfiner/vite-issue-1815
- Open the repo in VSCode, install marketplace.visualstudio.com/items?itemName=Vue.volar 2.0.4
- Open
apps/web/src/main.ts, and check the tsconfig at status bar, it'sapps/web/tsconfig.app.json

- Open
apps/web/src/App.vue, and check the tsconfig at status bar, it'sapps/web/tsconfig.vitest.json, but expected same asapps/web/src/main.ts

segevfiner
Metadata
Metadata
Assignees
Labels
ExternalRelates to another program, environment, or user action which we cannot control.Relates to another program, environment, or user action which we cannot control.