-
-
Notifications
You must be signed in to change notification settings - Fork 239
Feature request: Code folding #900
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
hola.
i tried looking for a way to fold blocks of code (in my case Javascript code) in fresh, but couldn't find any way to do it.
i assume it's not yet implemented?
if so, consider this my official feature request for code folding to be implemented and added to fresh.
it's extremely helpful for the readability and developer-ergonomics of bigger code files/projects.
P.S. if it gets implemented, i would absolutely LOVE if in addition to the basic "collapse"/"expand" functionality fresh also supported:
- nested fold regions, as-in being able to:
- fold some block of code
- fold the outer block that contains the already folded section of code
- so that unfolding the outer section would not unfold the inner section
- remembering the folded regions, on e.g. editor restart or file close/open or project switch
- quick-folding and -unfolding the active file based on indentation depth (e.g. pressing CTRL+K and then CTRL+1 would fold all code in the current file at the first tab-stop, CTRL+K followed by CTRL+2 would fold all code at the second tab-stop, etc. and same thing for unfolding)
those additional features help save so much time when working on big projects that require folding a lot of code often.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request