Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor(vscode, language-server): remove hybrid mode configuration #5248

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

Merged
merged 8 commits into from
Mar 5, 2025

Conversation

johnsoncodehk
Copy link
Member

@johnsoncodehk johnsoncodehk commented Mar 4, 2025

As part of the 3.0 refactoring, the VSCode extension and language server no longer provide a configuration option to disable hybrid mode, which greatly reduces the amount of code to maintain, and this reduces the need for fs hacks on the typescript-language-features code. Our ultimate goal is to eliminate the need for fs hacks altogether, so this is an important progress.

Since language-server only works with typescript-plugin now, the test infrastructure needs to be refactored to run against @vue/typescript-plugin, which we do based on typescript-server-harness.

The test time has increased considerably for the time being, and this will be addressed in #5252 that removes the named pipe.

Copy link

pkg-pr-new bot commented Mar 4, 2025

Open in Stackblitz

vue-component-meta

npm i https://pkg.pr.new/vuejs/language-tools/vue-component-meta@5248

vue-component-type-helpers

npm i https://pkg.pr.new/vuejs/language-tools/vue-component-type-helpers@5248

@vue/language-core

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-core@5248

@vue/language-plugin-pug

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-plugin-pug@5248

@vue/language-server

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-server@5248

vue-tsc

npm i https://pkg.pr.new/vuejs/language-tools/vue-tsc@5248

@vue/language-service

npm i https://pkg.pr.new/vuejs/language-tools/@vue/language-service@5248

@vue/typescript-plugin

npm i https://pkg.pr.new/vuejs/language-tools/@vue/typescript-plugin@5248

commit: 7e6a485

@johnsoncodehk johnsoncodehk marked this pull request as ready for review March 5, 2025 07:42
@johnsoncodehk johnsoncodehk changed the title refactor: remove hybrid mode configuration refactor(vscode, language-server): remove hybrid mode configuration Mar 5, 2025
@johnsoncodehk johnsoncodehk merged commit dac1089 into master Mar 5, 2025
10 checks passed
@johnsoncodehk johnsoncodehk deleted the remove-hybrid-mode-config branch March 5, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants