-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
End of file breaking autocompletion #4583
Comments
Thanks for the report, but I can't reproduce the problem in the code you provided, auto-complete worked for me when the SFC structure was fixed. Can you provide a video that fully demonstrates how the problem occurs? |
Sorry i tryed a lot and can't reproduce it again 😥 Will try to stay alert when this happen to create another repro! Anyway is it possible to make the autocompletion keep working even when something is wrong ? This happen a lot allong the day that something is in dev and it's normal that for now it's broken. |
Yea, i'm doing reload window every time and this fix it ! But i belive this would be a much better dx to just work even with issue with the file? |
I had the same issue time to time, but could not reproduce easily ( so I did not create an issue ). My general guessing is there's a race condition ( I could be very wrong ) like:
|
Can't reproduce in 2.0.28. Is this still an issue for you? |
From memory yes, but it happens so rare that my memory about this issue is quite blur. E.g. I am not event sure was it before |
@davidmatter |
@zhiyuanzmj Could you take a look at this? |
auto-complete don't work when the SFC structure was fixed? |
Do you mean this? https://imgur.com/a/bp9hTHA |
This url is 403, I can't see it. |
Try this https://i.imgur.com/4t7rFue.png |
No also can't see it, why not copy to the comment input box. |
Thanks! |
Vue - Official extension or vue-tsc version
2.0.26
VSCode version
1.91.0
Vue version
3.4.0
TypeScript version
idk how to get it
System Info
Steps to reproduce
having an unexpected end of file break the autocompletion forever.
Like having a component without end tag, the only solution is to do a reload window.
It's also annoying because sometimes i want volar to import my component but because of the end of file it break before importing.
What is expected?
Autocompletion should still work even if an issue is present on the component
What is actually happening?
Autocompletion is break and won't come back even when component is fixed !
Link to minimal reproduction
https://play.vuejs.org/#eNp9kE1Lw0AQhv/KuJcolIjoqaSCSkE9qKjgZS8hmaRb94v9qIGQ/+7shtYepLfd93ln5p0Z2Z215S4iW7LKN07YAB5DtCBr3a84C56zW66FssYFGMFhBxN0zigoqKzgmuvGaB9A+R5WiZ8XjyilgS/jZHtWXHBdXc6tqRF9Aior64D0A6g2V4kfaWxBQ6llJ/py642mZGNyctYYZYVE92qDoJGcLSGTxGqa+POcteAiLvZ6s8Hm+x9964ekcfbm0KPbIWcHFmrXY5jx+uMFB3ofoDJtlOQ+Ad/RGxlTxtl2H3VLsY98Oe1TvqnQ/adfDwG13y+VgibnlP2c0Z0fTqz+F/e6vMl1XE9s+gWabZzJ
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: