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
First auto-import is added on same line as <script>
#916
Labels
enhancement
New feature or request
Comments
Hi @Akryum, thanks for the report! But unfortunately even this is a simple problem, we don't have a suitable solution to resolve. Unless we have to prohibit any code at first line in script block. |
So there is no possible solution either from Volar, VS Code or another part of the stack? |
Just have a idea to fix. :) |
Awesome! |
Looks like the issue is back @johnsoncodehk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I auto import something in a
.vue
file, the first time it add the code on the same line as the opening<script>
tag.Actual:
Expected:
Reproduction steps:
.vue
filescript
sectionVolar v0.31.1
The text was updated successfully, but these errors were encountered: