I've been burning the midnight oil lately, working on the PDT (Pike
Development Tools) plugin for Eclipse. It's finally at a point where
it doesn't break as soon as you look at it, so I thought that folks
might like to have a little glimpse into where I'm heading. I've
packaged up the current development snapshot, and made it available
for the adventurous.
What you get:
- a Pike project type
- new "Pike file" option
- a Pike perspective
- a Pike aware editor (the meat of the work so far)
The editor gets you the following:
- pike aware code hilighting
- auto-indent
- auto bracket/brace/quote matching and highlighting
- code folding for top level functions
- a tree view of the current pike file listing classes and methods,
with "jump-to" on methods.
So, while there's a lot that needs to be done, there is a lot of
useful functionality already.
To try out the "pre-alpha" plugin, simply download the jar from:
http://hww3.riverweb.com/dist/pike/eclipse/org.gotpike.pdt_1.0.0.jar
and drop it into your Eclipse plugins/ folder. Once you restart
Eclipse, you'll know it's loaded by the presence of a "Pike" category
in the new project wizard. I've developed this against Eclipse 3.2,
so your mileage may vary when using other versions. One glaring
caveat: the parser doesn't deal with pre-processor constructs at all.
If you have them in your pike file, a lot of the functionality will
just break. Comments and suggestions are welcome for how to deal with
this properly.
It's probably also worth noting that there's a fair amount of code
borrowed from the EPIC project. While I don't necessarily think it's
the last word in the scripting-language IDE world, it has enabled me
to get things going more quickly than if I had started from ground zero.
As always, comments and suggestions (and code contributions) are
welcome!
Best,
Bill
|