May 24, 2004
Eclipse 3.0 M9

Eclipse 3.0 M9 - nice new toys, including code folding. I use jEdit's code folding all the time when coding Python, and it's great. I wonder if I can train them to use the same key bindings...

Posted to Java by Simon Brunning at May 24, 2004 01:52 PM

That feature has been in VIM for ages mate ;-)

Of course, if I could get it to reliably work with (X)HTML and XML as well it would be even better ...

Posted by: Andy Todd on May 24, 2004 04:25 PM

Silly me, it's ":set foldmethod=syntax"

Posted by: Andy Todd on May 24, 2004 04:28 PM

Touché. ;-)

jEdit's had code folding ever since I've been using it. It's probably not been in jEdit for anything like as long as it's been in VIM, though. After all, VIM probably had it when jEdit's developers were in short trousers. (It doesn't work *quite* right for Python, though; it picks up indentation in docstrings, and offers you folds there. Good enough for me, though, 'cos I usually flod/unfold whole methods at once.)

It's new to Eclipse, though. Which is ironic, since Java's verbosity makes it even more essential. ;-)

Posted by: Simon Brunning on May 24, 2004 04:36 PM

Code folding still needs some work in Eclipse and probably won't make it there by 3.0. See my blog for more info.

Posted by: R.J. Lorimer on May 24, 2004 05:30 PM
Post a comment

Email Address:



Remember info?