vscode-better-folding icon indicating copy to clipboard operation
vscode-better-folding copied to clipboard

Unexpectedly disable unsupported language folding function

Open aiirobyte opened this issue 1 year ago • 3 comments

Describe the bug For instance, I want to use official folding function on yaml file as this extension doesn't support indent folding, but after installing this extension, the folding function(both official and extension) seems to be diabled on the yaml file.

To Reproduce Steps to reproduce the behavior:

  1. Enable extension
  2. Open yaml file
  3. Can't fold lines

Expected behavior Using official folding function on unsupported language.

aiirobyte avatar Mar 15 '23 09:03 aiirobyte

Noted. Will add it to the roadmap. In the meantime, would mind trying adding yaml to the excluded languages settings and see if it fixes it?

mtbaqer avatar Mar 19 '23 18:03 mtbaqer

Noted. Will add it to the roadmap. In the meantime, would mind trying adding yaml to the excluded languages settings and see if it fixes it?

Thanks! It works properly.

aiirobyte avatar Mar 20 '23 12:03 aiirobyte

Hi, the same problem occurs with .txt and .todo files. Folding is "turned off" in these kind of files as soon as the extension is activated.

I excluded both "endings" and then I can fold again. Luckily, ZEN Fold still works in these files.

Thank you for the ZEN fold feature by the way. 👍👍👍 I've been looking for something like this for a long time.

CodingFan72 avatar Aug 09 '23 08:08 CodingFan72