-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
[BUG] emmet, autocomplete, props suggestion doesn't work in some .vue files #827
Comments
@AlexSHoffman Hi. i have the similar problems, but mine is that it doesn't work in some project. I have no idea how this happened. Can you tell me how to see the vue language server outputs. |
@sunyuu to see the vue language server output you just need to:
|
I get the same error. Code to reproduce: gist I commented the code to show the function causing the problem. When the watcher for Errors (I found two different ones):
|
Changing my watchers to objects with a |
I got the same error. |
This seems to be solved in TS 3.3, which you can get by:
See #682 for details. This issue will be completely gone after #1163. |
Info
Problem
In some .vue files emmet, autocomplete, props suggestion stops working (.vue files with not much code in them aren't affected)
The number of lines doesn't seem to be the reason it stops working (perhaps tag formatting is what's causing it? Doing
f1 => format document
isn't fixing the issue).In the problematic files, if you type
div
orv-layout
or any other tag manually it won't suggest to autocomplete it and after you hit enter, it moves the cursor to the next line without creating a tag.I've reinstalled it several times (including the manual .vsix method) but it didn't help
UPDATE
The problem is caused by something in
<script>
section.When I remove everything inside
return { }
, it starts working againVUE Language Server - output
The text was updated successfully, but these errors were encountered: