http://qs1969.pair.com?node_id=158698

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am using TextPad for most of my text editing purposes, it is mega sleek and comes with Perl editing support (color coding, code snippets). Very nice, but I want to find something a little more geared towards Perl, perhaps solely. Does anyone else have a tastes-great-with-Perl editor they recommend?

Replies are listed 'Best First'.
Re: Recommended Editor
by trs80 (Priest) on Apr 13, 2002 at 01:31 UTC
    Ah, the quest for the perfect editor!

    Here is a table with my expriences on my own quest.
    EDITOR
    PLATFORM
    GUI or Console
    RATING LOCAL
    RATING REMOTE (ssh/telnet)
    COMMENTS
    Komodo
    Linux
    GUI
    8
    NA
    open file process is cumbersome, nice debugger.  Speed really depends on your hardware, don't come with a slow CPU and/or limited memory and expect to be happy.
    Komodo
    Windows 2000 GUI
    6
    NA
    Right click is "broken" under 2000 and the debugger has to be started two to three times before it runs correctly.
    UltraEdit
    Windows 9x/ME/2000
    GUI
    9
    NA
    easily execute your scripts and reatin the output in the editor, this is priceless on a 9x or ME machine. Easy to preview your output in your default browser.  Nice default highlighting.
    UtlraEdit
    Linux (Wine)
    GUI
    7
    NA
    Still good, but haven't taken the time to figure out how to run a DOS command.  I haven't tried real hard either :)
    SciTE
    Linux
    GUI
    5
    NA
    Just didn't feel right, haven't used it for at least 4 months
    Nedit
    Linux
    GUI
    6
    NA
    I really thought this was going to be a more capable editor, but it just never clicked with me.
    vi
    Linux
    Console
    5
    9
    goes against my keep it simple principle, you mean I have to send keystroke to enter the edir mode? How TRS-80
    pico
    Linux
    Console
    8
    9
    often negelected as an editor and never run it without -wb for the params, this gets you global replace and no force hard return word wrap
    notepad
    Windows
    Might as well use edit in a DOS window :)
    4
    NA
    I know it is everywhere, but it doesn't do anything to help you, and its support for \n is horrible.  Was that on purpose :)
    Kdevelop
    Linux (KDE)
    GUI
    6.5
    NA
    This could be a really good Perl editor, but it is designed for C++ and C files. If you open a project you are stuck with limited options and I can't get it to create a new perl (.pl) inside of one
    Kate
    Linux
    GUI
    8
    NA
    This was working great until I upgraded to KDE 3.0, now it consistently crashes when I try to open a file. I like the file open window and the fact that you can have console at the bottom of the editor, makes it very flexible.
    mc - Midnight Commander
    Linux
    GUI
    5
    8
    This would be a much higher rating if the copy and paste via ssh worked better, maybe it was the version I was using, but it would add an additional tab to each line which made it brutal for remote editing. I did like the ability to place the cursor with the mouse however
    GEdit
    Linux
    GUI
    5
    NA
    Another editor that just didn't click with me.
    (X)Emacs
    Linux
    Console/GUI
    5
    9
    It does so much, but I find it cumbersome to use since I switch between Linux and Windows frequently.  I tried the windows port, but it just loses so much without the shell power of Linux.


      Just want to say thank you for the tip about "-wb" for pico. I use pico quite a lot to do small stuff via ssh on our Solaris machines... can't believe I never took the time to find that out. Doh. Thanks again!

      Note to self: add alias on monday.


      You have moved into a dark place.
      It is pitch black. You are likely to be eaten by a grue.
Re: Recommended Editor
by tachyon (Chancellor) on Apr 12, 2002 at 23:58 UTC

    vi

    vi

    vi

    vi

    vi
    vi

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

      Hey, you misspelled vim 6 times ;)
Re: Recommended Editor
by Hero Zzyzzx (Curate) on Apr 12, 2002 at 22:59 UTC

    Prepare the holy hand grenade! Emacs and cperl-mode.

    Honestly, you should search for "text editor" or "perl editor" in the search box- we've gone over this a bajillion times, like here and here.

    -Any sufficiently advanced technology is
    indistinguishable from doubletalk.

Re: Recommended Editor
by Dog and Pony (Priest) on Apr 12, 2002 at 23:27 UTC
    If you are using TextPad, then I assume you are on windows. Personaly, I haven't really found any other editor on that platform that works better - as good, yes, but not better. It is more of a matter of taste (although since I use emacs + cperl-mode on linux, I probably should do that on windows too).

    There are several editors geared more towards programming available, I guess - for one thing you have Komodo available from ActiveState. When I tried it though, it was slow as syrup - but that was a while ago. It is probably worth a new try, if you want something specialized for perl.

    In all reality, I think that the final choice of editor matters little - they all have their advantages. What you want to do is to pick one you are comfortable with and learn it really well instead. That will gain you much more in both short and long term, than trying to find the perfect editor.

    I also think that you should not find an editor that is specially geared towards perl, but rather find one that is good with a lot of things. TextPad still fits that bill, as do a lot others. Unless you are sure you will do only perl, and nothing else, for ever and eons, of course. :) I'd like to think that I am, and will be a bit broader than that...

    Nothing wrong with mastering several tools, and using the best tool for each job, but if you can fit most jobs into a multipurpose tool, your toolbox is lots easier to transport and carry with you. As long as you can get by with any other tool when needs be, of course.


    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.
      There is a review of Komodo here at the Monastery. There have been improvements in it, but the a new stable release has not been made.
Re: Recommended Editor
by lshatzer (Friar) on Apr 12, 2002 at 22:59 UTC
    Now you did it, you are going to start a religious war. If you want, you can look at Outside Links for a list of editors you can download and try.
Re: Recommended Editor
by Molt (Chaplain) on Apr 13, 2002 at 14:05 UTC

    Choice of editors seems to be a very personal matter, so this is just my little point of view.

    Under Unix I use Vi, it loads quickly which makes it ideal for small changes, and seems to be available on virtually every machine and able to run during quite severe problems. Whilst I don't do sysadmin professionally anymore (Yay! No more 2am call-outs) I did find it very useful then.

    Now at work I develop on a Win2k desktop connected to Solaris servers, and I use Ultraedit. It's got a fairly nice collection of editing tools, syntax highlighting (Including Perl) which you can create your own syntaxs for, Save/Load to FTP which saves me an awful lot of time, and as been said before it can be configured to run scripts and leave the results handy. Do find it useful to be able to add to the syntax highlighting, allowing me to do things like write my own highlighter for Macromedia Director's own language Lingo.

    It's entirely possible other editors provide all this, but I thought I'd just let you know my own views on this powderkeg matter.

      * blowing my own horn *

      If you use UltraEdit, take a look at Perl Oasis and see if you like it. I know I do(1) :)

      /J

      (1) Actually, it's more like a habit. I miss it when it's not there...

Re: Recommended Editor
by mumbles (Friar) on Apr 13, 2002 at 01:02 UTC
Re: Recommended Editor
by WrongWay (Pilgrim) on Apr 13, 2002 at 03:55 UTC
    <html> I cant believe no one said JEDIT. I absolutely LOVE jedit. EVERYTHING is remapable, color parsing, FOLDING, LINE guides, tons of plugins-macros-blah-blah balh.. Its free so I guess I really shouldnt SELL it so much... www.jedit.org check it out yourself...

    WrongWay
      jedit would be the perfect editor if they switched to using SXW (the new GUI stuff from IBM that's platform specific - i.e Windows on Win32, and Gtk on Unix). Until then I just find it way too slow :-(
      Hi, thanks so much for mentioning Jedit, I love it as well, never heard of it before. Ty
Re: Recommended Editor
by jcupp (Acolyte) on Apr 13, 2002 at 00:27 UTC
    Has anyone tried SciTE? You get it with one of the binary distributions (Win) of Ruby... It's looks better than textpad, and a little programmable (max 10 buffers, though...)
Re: Recommended Editor
by Anonymous Monk on Apr 13, 2002 at 00:30 UTC
    Perl Builder is my recommendation.
Re: Recommended Editor
by Juerd (Abbot) on Apr 13, 2002 at 17:46 UTC

    For beginners, I'd recommend mcedit. It's shipped with GNU Midnight Commander, and has excellent Perl syntax highlighting and very intuitive controls.

    For more advanced users and demanding beginners, I'd say vim is an excellent choice, because of its reasonable Perl syntax highlighting (let perl_want_scope_in_variables=1, let perl_extended_vars=1, let perl_include_pod=1, syntax on), automatic indenting (set smartindent, set autoindent) and many useful features.

    My .vimrc (for vim 6.1) is as follows:

    set smartindent set tabstop=8 set shiftwidth=4 set softtabstop=4 let perl_want_scope_in_variables=1 let perl_extended_vars=1 let perl_include_pod=1 colorscheme elflord syntax on

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.
    

Re: Recommended Editor
by impossiblerobot (Deacon) on Apr 13, 2002 at 15:03 UTC
    Another free (beer) editor that supports Perl is Crimson Editor. There are some features missing that I would like and the Perl syntax highlighting isn't always right, but it also has features I do like: it's fast, does quick-commenting, and I can run/syntax-check/perlfunc within the interface.

    Impossible Robot
Re: Recommended Editor
by Marza (Vicar) on Apr 12, 2002 at 23:41 UTC

    I use WinEdit which is not bad. I think it is geared more towards html but it does perl as well.

    Best advice is just to use what you like. The "perfect" editor will get debated forever

A reply falls below the community's threshold of quality. You may see it by logging in.