IDE folding

Jared Hardy · Friday Demos · September 13, 2024 · 1:54

Folding in the IDE to open up quicker, easier navigation in large topics or view files

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. I have a super tiny one in the space of the IDE uh that we'll show real quick um been working on like some small improvements if I my SP time and I was able to find a new yaml parser for code mirror and that enables like some cold folding code folding in like the yaml and so here it works in the model file so you can collapse topics uh easily it's not there's no State stored here uh anything so if you like revisit the file refresh it doesn't do it but if you're working in it it's pretty nice um it works jar would this would this make it possible to like collapse all topics for example so you could just like the topic heads and

  2. Stu so that's what I'm going to be taking on next before I Pro this isn't Shi yet this is just like locally testing here it works in View files um it doesn't quite work in relationship files yet so I want to make sure that that works too um you know if I can get it figured out it might need a little bit of custom parsing here I think it's like this slasher it's not quite reading it um it did change the way that um the text is parched here so like the syntax highlighting is slightly different so maybe to do a poke at that if we want to keep it or um there um and then yeah the next thing is I want to like

  3. they have like fold all or unfold all functions that we can call and so I want to that so it's like one click you can get everything out of the way and then like go expand what you want um but I may just like ship the first version of this and like so you can manually go do it if it takes too much time to go like get all those functions out I spend some time today on it but this will be and a little another nice quality of life Improvement in the ID just to kind of collapse some these bigger files um thanks to Nate yesterday for spending some time with me to uh walking through some of this so