Monday, June 18, 2007

Padclipse Text Editor

Padclipse is a new very light weight distribution of Eclipse that only contains the Text Editor and a few other plugins. The first pre-alpha release based on Eclipse 3.3RC4 just came out, but is not well tested, so caveat emptor! You can download it for Windows, Mac or Linux.

The first release of the "Lite" edition contains RCP, Text Editor, Compare and Search and not much else from the Eclipse SDK. Also included for convenience are EclipseColorer editor with syntax highlighting for many programming languages and HTTP File System.

The download is only 20MB and I've seen start up times from 2 to 5 seconds.

Future editions might include "Team" (CVS, SVN, Mylyn, ...), "Full" (Team + WST XML) and perhaps "Micro" (taking out everything that can possibly be taken out while leaving the text editor).

Padclipse also brings some new functionality that makes Eclipse easier to use as a simple editor:
  • Files (URI-s) can be opened via command line parameters, and consequent launches will open editors in a single instance of Padclipse (per user).
  • Files will be automatically linked to the workspace to make local history and other features be available to all files. This will be improved in future versions.
  • Future versions will improve OS integration and general usability.
Also, note that since I am no artist, the current splash screen is really ugly and the icon is taken from a PDE template. Padclipse needs a splash screen, an image for the about page, and an icon. So I'd like to kick off another logo contest, which will be tracked in this bug at SourceForge.net. Unfortunately, since SourceForge doesn't seem to allow everyone to attach files to bugs, files can be sent to villane at gmail dot com.

6 comments:

Chris Aniszczyk (zx) said...

how are you doing the command line file handling?

Villane said...

The current implementation is a bit buggy, and I'm not sure if this is the right way to do it, but basically in the Workbench Advisor's postStartup() method I will call IDE.openEditorOnFileStore(..) for all command line parameters. I assume the parameters are URIs and the file: scheme will be used if there is none.

If a second instance is launched, then I will make a socket connection to the first instance and send the parameters over.

There are currently some bugs with the implementation.

Chris Aniszczyk (zx) said...

Can you comment on bug 4922 and bug 178927 using your approach to handle command line args?

Villane said...

Sure. :) I should have guessed there were Eclipse bugzillas about this, but never bothered to search.

Kevin McGuire said...

Great to see people building small things with Eclipse! Nice timing with Europa representing the other far end of the spectrum.

I took padclipse for a quick spin, its cool. Nice work.

sofeng said...

this is a useful tool for me. question-- how can i add the command line file handling to my existing full-featured eclipse installation? i tried adding all my plugins to padclipse and this seemed to work. however, i'd like to use the released version of Eclipse 3.3 instead of the RC4 version. thanks for the work.