The Quest for the Perfect Editor

Blog entries
2008 Nov 20

Padre talk in Haifa, reality check.
2008 Nov 17

Padre 0.17 was released.
2008 Nov 12

Talking about Padre and wxPerl in Haifa.
2008 Nov 11

Backlinks or links back to your site.
2008 Nov 10

Building your resume.
2008 Nov 09

How to run an Open Source Project.
2008 Nov 06

Syntax highlighting nightmare.
2008 Nov 04

2008Q4 TPF Grant Proposals.
2008 Nov 02

Subversion committer statistics.
2008 Oct 28

Perl Application Development and Distribution Platform.
2008 Oct 28

Compare Languages by usage.
2008 Oct 23

yak shaving.
2008 Oct 21

Recursive development that leads nowhere.
2008 Oct 18

Licenses in META.yml on CPAN.
2008 Oct 17

Shall I enable some form of trackback or commenting?.
2008 Oct 15

Shana Tova - New Year's resolution.
2008 Oct 15

Perl needs is_number and similar functions (nearly built in).
2008 Sep 22

The Quest for the Perfect Editor.
2008 Sep 04

Living on the border.
2008 Sep 02

TAP - Test Anything Protocol.
2008 Aug 31

Padre - the journey I..
2008 Aug 21

Who needs and IDE for Perl anyway?.
2008 Aug 09

Padre project web site.
2008 Jul 27

Padre.
2008 Jul 23

White Camel.
2008 Jul 18

Name a Perl IDE - get a Perl book or YAPC ticket.
2008 Jul 09

QA Hackathon in Israel.
2008 Jul 01

OSDC Israel 2009 - Call for organizers.
2008 Jun 11

Selenium on Ubuntu 8.04 (Hardy).
2008 Jun 09

Testing Hello World.
2008 Jun 08

Wifi is working again!.
2008 Jun 07

CPANTS update.
2008 Jun 04

Frequent Internet blackouts.
2008 Jun 03

Upgrading to Ubuntu 8.04 Hardy on Compaq (HP) nc6400. .
2008 May 24

Test Automation Tips.
2008 May 22

Open Source IDE for Perl.
2008 May 21

This week in Ruby.
2008 May 21

Being included on Planet Perl.
2008 May 14

Adding tag cloud to the blog.
2008 May 14

Ubuntu 7.04 (beta) Feisty Fawn on Compaq (HP) nc6400.
2008 May 13

Test automation using Perl master class in Chicago.
2008 May 13

Adding tags to the blog.
2008 May 09

Automated Testing in PHP, Python, Ruby and Perl.
2008 Apr 03

Strawberry Perl for Windows.
2008 Apr 01

Oslo Hackathon day -4.
2008 Mar 28

Blogging about Perl outside the community?.
2008 Mar 27

OSCON Proposals rejected.
2008 Mar 26

Preparing for the QA Hackathon in Oslo.
2008 Mar 25

Missing licenses on CPAN modules?.
2008 Mar 24

License of Perl Modules on CPAN.
2007 Dec 24

Joining Technorati?.
2007 Dec 24

Regular Expressions in Perl 5.10.
2007 Dec 24

Switching in Perl 5.10.
2007 Dec 24

Smart Matching in Perl 5.10.
2007 Dec 24

What's new in Perl 5.10? say, //, state.
2007 Dec 23

The Zulo interview was published.
2007 Dec 08

Frequency of programming languages on LinkedIn.
2007 Dec 06

Interview in Zulo.
2007 Dec 06

Sun Startup Essentials Launch.
2007 Aug 25

Testing PostgresSQL.
2007 Aug 25

Testing Pugs and Perl 6.
2007 Aug 22

Testing Ruby.
2007 Aug 22

Testing GHC, the Glasgow Haskell Compiler.
2007 Aug 22

Testing NUT, the Network UPS Tools.
2007 Aug 21

Testing SQLite .
2007 Aug 20

Smoked Parrot.
2007 Aug 20

Quality Assurance of Perl 5.
2007 Jul 09

Using mod_perl for szabgab.com.
2007 Jul 07

Quality Assurance and Automated Testing in Open Source Software.
2007 Jul 07

Add tags to CPAN modules via CPAN::Forum .
2007 Jun 15

Windows on VMware.
2007 Jun 13

Reducing the social gap of the information age.
2007 May 25

Moving to a new server.
2007 May 04

Preparing an application for distribution.
2007 May 01

Spreadsheet::ParseExcel is looking for a maintainer.
2007 Apr 28

CPAN Modules in Linux Distributions.
2007 Apr 18

Version control of single files using Subversion.
2007 Apr 13

Testing results, Perl and CPAN module availability.
2006 Aug 05

Perltraining.org split into two.
2006 Jul 23

Upgrading Ubuntu to 6.06, (Dapper Drake).
2006 Jul 22

Ginger Spam Salad.
2006 Jul 20

Automating the blog.
2006 Jul 19

Wish list: search engine for Perl related sites.
2006 Jul 19

Perltraining.org .
2006 Jul 19

More blog related issues.
2006 Jul 19

Starting a blog.

 

home | blog

The Quest for the Perfect Editor

Published on 2008.09.22 at 23:33:21

Tags: IDE, editor, perl

I have been reading The Productive Programmer by Neal Ford. I bought it on YAPC::EU in Copenhagen at the O'Reilly booth as it looked promising. I was especially interested in the part that was about how to use your editor better. I wanted to know what ideas I might get from the book on how to make Padre, the Perl IDE better.

There were a couple of good points in there beyond the editor stuff but now I would like to focus on chapter 15 Find the Perfect Tool and its entry about the The Quest for the Perfect Editor. Neal mentiones several requirements he has for the Perfect Editor and I'd like to see how Padre stands in those issues or where we are going.

  • A macro recorder with easily changeable macro language
    Padre currently does not have a macro recorder. As far as I know Scintilla - the editor framework I am using has some macro recording capabilities but I have not played wit it yet. What I already did is added an experimental feature (you need to turn it on manually in the config.yml file) where you can run arbitrary perl code within Padre. This can actually turn into a nice macro replaying tool. We can add a feature where users can write short scripts in perl, save them in a special folder and then easily run them in the editor using the menu. Basically it is quite similar to how the plugin mechanizm works currently.
  • Launchable from the command line.
    Well this is quite obvious for me and it is working. There are a number of improvements I want to make. I would like to be able to open files that do not exists, effectively creating an open buffer but with a filename already associated with it. In addition I guess I would like to add some other command line switches. Maybe we could add one to trat the directory as a project. I am not sure how it would interfere with the other automatic project handling we are planning.
  • Regular expression search and replace
    Padre has this using the Perl regular expressions but it is still restricted to the current file. I'd like to add support to several other scopes such as All the files currently open, All the files in the project, all the files in the directory with some exceptions defined with widecards. I'd also like to be able to restrict the search to the current functions and to the current block (or variable scope).
  • Additive cut and copy commands
    to be able to collect some parts from one file and then paste them to another file or another place in the same file. We don't have it yet. I should understand how the clipborad works in WxWidgets.
  • Multiple registers
    to keep the results of multiple copy operations. Should be added too.
  • Cross-platform
    Padre works on Linux and Windows and as far as I know also on Mac. We have not tried it on HP-UX or Solaris or AIX yet but I hope WxWidgets can work on those platforms and then will Padre too.

In the meantime a I have added some very naive Parrot and Perl 6 support to Padre. That is, it can provide basic syntax highlighting to PASM, PIR and Perl 6 files. As the implementations are separated into modules we can work on them even while the rest of the code is being refactored. I hope we can soon provide calltips and context sensitive help to both Perl 5 and Perl 6.

In the meantime, you can download and install Padre using CPAN.pm but as not everuthing might work on the first try there are some installation instructions on the download page of Padre

Comments by

Sam Vilain
herbert breunung
Adam Kennedy

Comments?

Instead of enabling comments here, please write your comment in your own blog and send me the link or paste it here:

Enter the link to the permalink of your response:

Trackbacks will show up only after manual approval.

Last Update: Tue Sep 25 17:06:26 2007