You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
In the preference [ANTLR4 > Folding] the master option "Enable Folding" is checked by default. Unchecking it does not seem to disable folding: the editor still displays (+) icons beside fold-able items.
I normally do not use this feature and disable it (e.g. in Java editors) to reduce visual clutter.
(I also thought that this option might provide a workaround for #102, but fortunately that's been resolved independently.)
Hi, I just picked up this project. To my knowledge, there is no feature to remove the folding icon altogether. The "Enable folding" checkbox simply initially folds the the elements in the section below it. The only change I would suggest would be visual on that preferences page:
Remove the text "Enable folding" and put the checkbox next to "Initially fold these elements". Then the checkboxes below should be greyed out whenever the top checkbox is unchecked.
The behavior you are expecting from "Enable Folding" would actually be a new feature.
Does this make sense?
If so:
I will make the changes I mentioned.
I encourage you to refile this as a feature request.
HSorensen
changed the title
'Enable Folding' preference doesn't have any effect
'Disabling Folding' preference leaves folding '+' visible in editor
Nov 15, 2016
@arifogel I think the bug is that when the "enable folding" is not selected there should not be any visible folding '+' within the editor. This, IMO, is different for the "initial fold these elements" options.
In the preference [ANTLR4 > Folding] the master option "Enable Folding" is checked by default. Unchecking it does not seem to disable folding: the editor still displays (+) icons beside fold-able items.
I normally do not use this feature and disable it (e.g. in Java editors) to reduce visual clutter.
(I also thought that this option might provide a workaround for #102, but fortunately that's been resolved independently.)
See also #60.
The text was updated successfully, but these errors were encountered: