I'm using nedit (http://www.nedit.org) as my standard editor since 1997 at least. However I didn't expanded it much (using macros, etc) until recently. here's what I've done :

Well that's all for now, I don't really feel the need for any other tool right now, I'll try to get paramater completion if possible when I have some spare time...

In case anyone's inteested in the nedit stuff, here's the "refactor" macro and script:

$code = get_selection() if ( $code != "" ) { $subname = string_dialog( "New sub name:", "OK" ) # fichier temporaire $processnum = shell_command("echo $$", "") $processnum = replace_in_string($processnum, "\n", "") $tmpfile = "/tmp/nedit" $processnum write_file( $code, $tmpfile ) $codestring = "/home/emmanuel/bin/refactor.pl " $subname " " $tmpf +ile if ( $subname != "" ) { $subgen = shell_command( $codestring, "" ) if ( $subgen != "" ) { replace_selection( $subgen ) } } # delete temp file shell_command( "rm " $tmpfile, "") }
#!/usr/bin/perl use strict; use warnings; use Devel::Refactor; my $subname = shift @ARGV; my $codefile = shift @ARGV; open my $fh, $codefile or die ("Arrrrgh: $!"); my $old_code =join( "\n", <$fh>); close $fh; my $refactory = Devel::Refactor->new; my ($new_sub_call,$new_code) = $refactory->extract_subroutine($subname +,$old_code); print "\n# sub call\n",$new_sub_call, "\n\n#sub definition\n", $new_co +de;

In reply to Re: Perl IDE and New Foreign APIs by wazoox
in thread Perl IDE and New Foreign APIs by tomazos

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.