Seriously, what the heck is this?
In 2022, they came out with the ScriptEditor API, which includes both ScriptDocument and ScriptEditorService. The perfect thing one would think they’d need to create a plugin to do this for us.
Yet, somehow, the glaring oversight of CODE FOLDING is only even mentioned in GetViewport() as a potential issue, and still no recourse.
Please Roblox, even if it’s not a full studio feature, why isn’t this a part of the Script Editor API?
It’s giving “Code folding is a feature we offer?”
Also, there’s duplicate requests for this, as it’s rather obnoxious to find your collapsed code uncollapsed, and hitting Ctrl+Shift+E every time I pop a big script is rather frustrating, as it folds everything.