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

When using Volar in takeover mode (with TypeScript and JavaScript Language features disabled) quick fix is not available in TS files #3741

Closed
davija opened this issue Nov 19, 2023 · 0 comments

Comments

@davija
Copy link

davija commented Nov 19, 2023

Just started a fresh Vue 3 project and am using Visual Studio Code.

I am using:

  • TypeScript Vue Plugin (Volar) v1.8.22
  • Vue Language Features (Volar) v1.2.0
  • Vue Volar extension Pack v1.1.8

I have disabled the built-in typescript language server and restarted visual studio code.

When I open up a .ts file and add a component that hasn't yet been imported, I see the red squiggles indicating it is not recognized. Usually I would bring up autofix and add the import. However with volar in takeover mode quickfixes don't appear to be generated.

Here is a screenshot where I just changed the default HomeView component and replaced it with a LoginView
Screenshot from 2023-11-19 14-42-54

I did notice that if I use CTRL+Space it brings up a "similar" type of feature that the adding an import via quickfix does, however it does not quite as expected in that it places what you select where your cursor is which then screws up what you have written.

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

No branches or pull requests

1 participant