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

TypeScript Vue Plugin (Volar) breaks VSCode #1956

Closed
MaximFedarau opened this issue Oct 8, 2022 · 12 comments
Closed

TypeScript Vue Plugin (Volar) breaks VSCode #1956

MaximFedarau opened this issue Oct 8, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@MaximFedarau
Copy link

TypeScript Vue Plugin (Volar) breaks VSCode:

  • breaks syntax highlighting: syntax_highlighting_break_demo
  • breaks autocompletion for imports, object fields and etc. autocompletion_break_demo

My Environment:

app & software version
vscode 1.72.0
volar 1.0.0
@johnsoncodehk
Copy link
Member

Duplicate of #1946

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1946 Oct 8, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Oct 8, 2022
@johnsoncodehk
Copy link
Member

Please try v1.0.1.

@MaximFedarau
Copy link
Author

MaximFedarau commented Oct 8, 2022

Updated, but this doesn't work either.

@johnsoncodehk
Copy link
Member

Can you reproduce this problem in https://github.com/johnsoncodehk/volar-starter?

@MaximFedarau
Copy link
Author

Sorry, what do you mean?

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Oct 8, 2022

Could you try clone https://github.com/johnsoncodehk/volar-starter and install depends, and see is there some way to reproduce the problem you mentioned in a certain repo file.

@johnsoncodehk johnsoncodehk reopened this Oct 8, 2022
@johnsoncodehk johnsoncodehk added need info and removed duplicate This issue or pull request already exists labels Oct 8, 2022
@MaximFedarau
Copy link
Author

Yeah, everything works in .vue files.

2022-10-08.21.22.26.mov

website_demo

But everything breaks with, for example, .ts files:

2022-10-08.21.24.46.mov

@MaximFedarau
Copy link
Author

version_demo

@johnsoncodehk
Copy link
Member

@MaximFedarau thanks, will check it later, you can try use takerover mode instead of TS plugin for now.

@johnsoncodehk johnsoncodehk added bug Something isn't working and removed need info labels Oct 8, 2022
@johnsoncodehk
Copy link
Member

Please try v1.0.2.

@MaximFedarau
Copy link
Author

YES.
1.0.2 solves the issue!

@gustavotoyota
Copy link

1.0.2 solved the issue!
I only don't use Take Over mode because it makes Go To Definition stop working in monorepos with Project References (#1344), else I would use it without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants