-
-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add back reverseConfigFilePriority
#3951
Comments
The Vue language server no longer controls tsconfig selection, because in 2.0 typescript support is implemented through tsserver + @vue/typescript-plugin, which means that now it is all the behavior of tsserver itself. |
Then how can it be that for a vue file I'm getting tsconfig.vitest.json and for a ts file I'm getting tsconfig.app.json? Something must still cause the behavior to be different for this case? See also #1815 |
Maybe tsserver behaves differently with external files (the file type of Vue files in tsserver projects), I can't give an exact explanation until I dig deeper. Anyway this is now beyond the control of this codebase. |
Please track for microsoft/TypeScript#57632 |
@sheetalkamat indicated that this is configurable, I will look into this. |
VSCode's TS client does not provide a configuration method for |
Hi - very same issue here 🙋 |
This problem cannot be solved on our side, but 2.0.7 has re-introduced the v1 language server, you can upgrade and make sure not to enable Hybird Mode to get consistent behavior with v1. |
@johnsoncodehk This is still an issue... Can we request the needed API in VS Code so this can be properly solved? |
I am currently unable to find time to investigate it, but let's keep this issue open in case it sinks. |
With this now removed, I'm getting the wrong tsconfig.json selected in my Vue projects. By having
tsconfig.app.json
last and enabling this setting, both the TypeScript server and Volar in Vue files pickedtsconfig.app.json
, now Volar picks uptsconfig.vitest.json
instead (Based on thecreate-vue
template). Please restore this setting or make it the default to match TypeScript server behavior.The text was updated successfully, but these errors were encountered: