Skip to content
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

feat(language-server): create project with tsconfig on hybrid mode #4211

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

johnsoncodehk
Copy link
Member

@johnsoncodehk johnsoncodehk commented Apr 5, 2024

Fixes #3959

Even if Hybrid Mode is enabled, the project should still be created based on tsconfig. This is to ensure that the template compiler/codegen can use the compilerOptions and vueCompilerOptions in tsconfig.

To ensure tsconfig options consistency with the tsconfig path displayed in the status bar, it is necessary to communicate with the tsserver to obtain a matching tsconfig instead of searching in LSP server.

@johnsoncodehk johnsoncodehk merged commit fd5c4a5 into master Apr 5, 2024
6 checks passed
@johnsoncodehk johnsoncodehk deleted the use-tsconfig-on-hybrid-mode branch April 5, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant