[racket] Collapsing S-expressions (was "what kind of Racket editor operations would you like to see?")
2011/7/16 Matthias Felleisen <matthias at ccs.neu.edu>
>
> On Jul 16, 2011, at 10:04 AM, José Lopes wrote:
>
> > The second feature is the ability to expand/collapse function
> definitions, i.e., hide
> > the body of a function and just see the name and parameters.
>
> You can collapse S-expressions into dots in DrRacket. Perhaps we should
> offer a menu item to do this for all top-level defines or all class-level
> defines etc.
I tried this option some time ago.
I can collapse s-expressions by right-clicking them and choosing "Collapse
S-expression", and expand back in a similar fashion.
That works good for editing the file. Having a way to toggle top-level
defines would sure be useful.
However, whenever I use this feature and save the file it goes in "GRacket
editor format", and though it's still a text file, that's not wanted in many
cases (for me) (for instance it doesn't play that nice with version
control).
(At least that's what I observe in Racket 5.1.1)
Is there a way to force saving in "text-only" format? (And keep the (...)
forms in the editor)
[]'s
Rodolfo Carvalho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110719/78fc8e9c/attachment.html>