Re: Nifty Feature - Folding Functions
Re: Nifty Feature - Folding Functions
- Subject: Re: Nifty Feature - Folding Functions
- From: "l.m.orchard" <email@hidden>
- Date: Thu, 23 Aug 2001 10:27:35 -0400
On Thursday, August 23, 2001, at 07:04 AM, email@hidden (Farl)
wrote:
>
Not sure if this is the right list for this, but what is a rather
>
immensely useful function in a code editor, is the ability to FOLD
>
functions away so they only show as their header line.
>
>
This makes code writing FAR easier as once you finish a function you
>
"fold" it away. Maybe a key command or a special checkbox next to the
>
function name would be a good implementation of this. Obviosuly the code
>
is still there, it is just not visible and allows for easier searching
>
thru lines and lines of code for what you want.
>
>
Just my 2
>
You probably want to ask this on the Project Builder lists, but I wouldn't
mind seeing this myself. I've almost been thinking of looking into what
it would take to switch from PB to XEmacs as my IDE, since I use
folding-mode (
http://www.csd.uu.se/~andersl/emacs.shtml#folding) in XEmacs
for everything. (I imagine it'd be a hairy mess to switch, though)
Not sure if you've seen it, but PB *does* have something that helps serve
the same purpose, though. If you choose Project->Index Project (or
Cmd-Opt-I) in PB, you start getting drop-downs in your editor that lists
all the functions in the current file. Works a bit like the imenu package
in emacs. It's not quite as nice as folding, and a little bit out of the
way, but it works.
--
Leslie Michael Orchard <email@hidden>
ICQ: 492905 (home) 11082089 (work)
"...see you space cowboy..."