We just released Framer V64 with Code Folds!
Code Folds help you organize big projects and make managing a lot of code easy. Select a piece of code, right click and fold it away. Its a huge productivity boost.
More details → http://blog.framerjs.com/posts/code-folds.html
MIDIControl? I do <3 u, guys!!!
This is perfect! thanks! :)
Nice vid, Ed! :)
wow!! Love it !!!It would be nice if we could fold the external "*.coffee" files too...
Well, this answers my "wouldn't it be nice if .." question from yesterday. Thanks!
This is fantastic. A great stride towards Framer being suitable for prototyping full apps
I bless the rains!
Fantastic! Love the cmd-return shortcut for jumping into existing folds. Is there a shortcut for exiting a fold as well?
So good. Love how you guys came up with the best solution for prototyping rather than just implementing the standard code folding feature.
Is that for Windows to guys?
Love the update! I tried it out though and some sections fold and some don't :/ I try the fold command and the screen just flashes briefly and doesn't fold..
Awesome update! What does this icon mean? The one next to command?
Great stuff. One question though: It looks like the canonical (only?) way to unfold stuff is to place the cursor next to the fold marker, right click and select "unfold". But one has to be careful not to place the mouse on top of the fold marker when doing this (because in that case, right clicking won't open the contextual menu) ... this is a little unintuitive, isn't it? Isn't the most natural way to unfold a folded piece of code by right clicking on that marker?
Fantastic! quickly organized your code
Cool stuff! Very curious how that is going to be in daily use!
One thing I noticed though is when I enter a fold, or exit a fold my document goes from 'no changes' to 'has changes' meaning neurotic me has to press save again. Maybe that's something you could prevent from happening?
Any shortcut to leave the fold, like pushing on escape will bring me back to the main code?
This is awesome, probably the one feature I missed the most! thank you guys!
By the way, Jorn van Dijk, I see that you rock your dock like as do, as clean as possible. With PathFinder it's possible to get rid of the Finder and Trash icons, and with cDock, you can customize the little remaining details :) Because, it's all about the details right? ;)
Jorn van Dijk, I just updated to V64 and it doesn't show me a layer window anymore. what's wrong?
This is a very welcome addition! I really enjoy the way that you folks are thinking about folds as persistent, rather than ephemeral as in most code editors.
A request, if I may: a type-ahead "open quickly" (or even just a keyboard shortcut for the fold navigation menu in the bottom-right) would really help me navigate around large projects. I've folded up a large project, but now getting between sections is very mouse-y. 🙏
Oh no! Excited as I am to use code folding, the representation in config.json immediately causes very nasty merge conflicts if two collaborators are working in different sections. Alas!
Why not code folding based on indentation, like IDEs currenty do?
regions and code folding in general is one of the main reasons I use other text editors with framer