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(vscode): re-add restart server command #4174

Merged
merged 1 commit into from Mar 28, 2024

Conversation

johnsoncodehk
Copy link
Member

close #4164

In versions 2.0.0 ~ 2.0.6, TS support in .vue files was provided by tsserver. The "TypeScript: Restart TS Server" command should be used instead of the original restart command, so the original restart command has been removed.

In version 2.0.7, full TS support was re-implemented by the Vue server, so the restart vue server command is needed again.

The situation is a bit confusing in 2.0.7:

  • When Hybrid Mode is disabled, the restart command should restart the vue language server.
  • When Hybrid Mode is enabled, the restart command should restart tsserver.

To avoid confusion, the restart command will now always restart both the vue language server and tsserver.

@johnsoncodehk johnsoncodehk merged commit a169328 into master Mar 28, 2024
6 checks passed
@johnsoncodehk johnsoncodehk deleted the restart-server-command branch March 28, 2024 19:59
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.

Vue - Official restart command
1 participant