Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by perrin (4270) on 2004.03.04 12:35 (#29056) Journal
    These are the things I want from an editor for perl code:

    • Auto-indent. Not the lame kind, but the kind that looks at your context to see if you are in the middle of a loop or a conditional and adjusts. Emacs is the only one I've seen do this right. All I ever do is hit tab and my code is properly indented.
    • Syntax highlighting. Must understand POD, recognize regexes, understand Perl's quoting. etc. None of them are perfect at this, but Emacs is the best I've seen.
    • Block comment/uncomment.
    • Re-flow comments that wrap lines. Emcas does this with Alt-Q.
    There are other nice features in Emacs, like CVS integration, browse/edit remotely via FTP, debugger integration, and auto-completion, but honestly I don't use those much. I suspect vim has these too, but I can never get it out of beep mode.

    All of the IDEs I've tried failed on the very first requirement: they suck at auto-indent. Eclipse is also slower than dirt, or was when I had to use it at work for some Java stuff last year.