Can't collapse code. The triangles disappear when trying to interact with them.
Create code with Vetur 2.7.1. Try to collapse it. Does not work.
Disable Vetur. Collapse code as expected.
Revert to Vetur 2.4 version, code collapses as expected .
me too,hope to solve it as soon as possible.
I can't reproducible this, but It's not have collapse in template region.
Are you referring to this?
I think you can edit title to Can't collapse code in template region
yes, I mean this. Thank you for your reply!
same problem. In my case reverting to an older version solves the problem only for .vue files created prior 2.4 version of Vetur.
On my side this seems to be related with linters. When I open a .vue file, folding works, then one second later unusual linter issues appear and folding disappears.
On my side this seems to be related with linters. When I open a .vue file, folding works, then one second later unusual linter issues appear and folding disappears.
It's not what you think.
Provide folding have three ways.
The basic two is Folding Markers and Indentation.
Ths full one is LSP.
ref: https://github.com/vuejs/vetur/issues/899#issuecomment-435943171
We try to use LSP for #899 in v0.27.0,
but we forget to add HTML folding in LSP.
We have a PR to fix it now. #2244
PS. The lint error is another problem, but thanks you.
Can't collapse code in template region
This is the correct description of the issue - @dvvdev could you update the title?
does someone know when the html folding will be supported again?
@nicovrg seems to be working for me... are you on the latest version?
i'm on 0.27.0
still not working on version 0.31.3
still not working on version 0.31.3
Please open a new issue and provide more information.
Most helpful comment
It's not what you think.
Provide folding have three ways.
The basic two is Folding Markers and Indentation.
Ths full one is LSP.
ref: https://github.com/vuejs/vetur/issues/899#issuecomment-435943171
We try to use LSP for #899 in v0.27.0,
but we forget to add HTML folding in LSP.
We have a PR to fix it now. #2244
PS. The lint error is another problem, but thanks you.