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

Volar warnings are issued when code actions are executed on SFCs #5095

Open
ludwig801 opened this issue Dec 28, 2024 · 0 comments · May be fixed by #5096
Open

Volar warnings are issued when code actions are executed on SFCs #5095

ludwig801 opened this issue Dec 28, 2024 · 0 comments · May be fixed by #5096
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have

Comments

@ludwig801
Copy link

Vue - Official extension or vue-tsc version

2.2.0

VSCode version

1.96.2

Vue version

3.5.13

TypeScript version

5.7.2

System Info

No response

package.json dependencies

No response

Steps to reproduce

When using the following editor code action settings on save, a save is performed in a SFC file.

  "editor.codeActionsOnSave": {
    "source.organizeImports": "explicit",
    "source.sortImports": "explicit",
    "source.removeUnusedImports": "explicit"
  },

What is expected?

The output window of VSCode to have no warning.

What is actually happening?

A warning is being issued for each command:
image

Why this might be relevant
I've noticed that, in large files, each message takes a long while to be solved. Might be caused or be the cause of a performance issue, but I can't be sure.

Link to minimal reproduction

No response

Any additional comments?

No response

@ludwig801 ludwig801 changed the title Volar warnings are issues when code actions are executed on SFCs Volar warnings are issued when code actions are executed on SFCs Dec 28, 2024
@KazariEX KazariEX added bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have and removed pending triage labels Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants