Skip to content
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

How to enable code folding in editor as default #1787

Open
avanc opened this issue Apr 2, 2024 · 1 comment
Open

How to enable code folding in editor as default #1787

avanc opened this issue Apr 2, 2024 · 1 comment

Comments

@avanc
Copy link

avanc commented Apr 2, 2024

Fold sections in the editor is a helpful feature. Is there a way to activate it as default (i.e. everything is folded instead of unfolded)?
I found 01a6582 but there is nothing mentioned regarding a config parameter.

@yagebu yagebu changed the title How to enable code falding in editor as default How to enable code folding in editor as default Dec 15, 2024
@yagebu
Copy link
Member

yagebu commented Dec 15, 2024

AFAICT, there's no built-in configuration for codemirror for this. So this would probably have to be some effect that runs on file switches in the editor. A PR implementing this would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants