chinchang / chinchang/web-maker

Feature Request: Remember Code Folding

Open
#134 0 comments 1 reaction 1 assignee Claimed by @chinchang View on GitHub
enhancement
Dominant language
JavaScript
Stars
2.7k
Forks
323
PR merge metrics
No merged PRs in 30d

Description

I'd like to make a feature request to add the option to remember code folding on subsequent loads of a project.

I Googled around, and I don't see a built-in way or plugin to help with it, but it does look like CodeMirror's function doFold in foldcode.js (/addon/fold/foldcode.js) could be edited to save the fold ranges, which could be folded again when a project is loaded/reloaded.

Thanks! Love the extension!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.