Code folding
Closed this issue · 11 comments
The cold-folding arrows in the gutter are no longer visible when the plugin is enabled.
I have version v3.0.18 and VSCode v1.64.2.
If version v3.0.16 is installed the code folding arrows are visible again.
@camskene could you provide some code snippets to test on?
- screens of expecting folding and existing
I have about 3.5k hbs files.
@camskene looks like language server is busy on templates indexing, foldings should start work once all files will be indexed. Also, it looks like we need to introduce option to disable code folding. Short term solution may be disable template indexing setting els.local.collectTemplateTokens to false + restart vscode
@lifeart Can confirm disabling els.local.collectTemplateTokens
code folding returns. Curiously, I turned it back on and the code folding still worked. This was for hbs files.
Folding not working for js/ts files.
lifeart/ember-language-server#364 created to have ability to disable folding range proivider