CuspA Lisp plugin for Eclipse

What is it?

Cusp is a development environment for Lisp built on top of the Eclipse platform. It runs SBCL and hooks into the Swank half of Slime. It provides a repl, project manager, an outline of your code for simple navigation, code editor, syntax highlighting, auto-indentation, parenthesis matching, auto-completion, library management, and more.

Cusp is both free of charge and free of warranty (however, if you're itching to be parted from your money, there is a tip jar). It is developed by Tim Jasko, Sergey Kolos, and others.

Further questions can be answered at the FAQ or cusp-development@googlegroups.com.

Sergey Kolos has a Cusp tutorial, where you can also find much fresher builds, with many of the nifty new features you'd find in the repository. Personally, I recommend his build, but keep in mind that some things in it are still fairly experimental. He also has an experimental Eclipse Update site for Cusp, though it is in a very early stage, and you'll need to provide your own sbcl. If you don't understand the previous sentence, just use one of the download links. The cutting edge can hurt!

Download version 0.9, released Sept 8, 2007

Screenshots

Autocompletion

autocompletion

Docstring & Parameter hints

Docstring, Parameter hints

Macro expansion

Macro expansion

Download version 0.9, Sept 8, 2007 (Changelog)

Update site: http://www.paragent.com/lisp/cusp/update/

We now have an update site for Cusp. If you have Windows, Linux, or x86 OS X, it will automatically install the appropriate SBCL. If not, you'll have to provide your own (see the FAQ).

  1. Start Eclipse and choose the menu 'Help/Software Update/Find and Install'. Select the checkbox 'Search for new features to install' and press the 'Next' button.
  2. From the dialog 'Update sites to visit' press the button 'Add update site' or 'New Remote Site'.
  3. Enter "Cusp update site" in the 'Name' field and the value 'http://www.paragent.com/lisp/cusp/update/' into the 'URL' field of the 'New Update Site' dialog. Press the OK button.
  4. Expand 'Cusp update site', select the checkbox 'Cusp' and press the 'Next' button.
  5. Accept the lincense agreeement, and press 'Next' button.
  6. Unselect SBCL and/or Lisp Libraries if you don't want these optional components be installed, press 'Next' and then 'Finish' buttons to install Cusp and accept to restart Eclipse.

Or, if you prefer to do things manually, choose the appropriate download and unzip it to your eclipse directory.

Getting Started

  1. Make sure you have the latest version of Eclipse running under Java 5.
  2. Download the appropriate version of Cusp for your operating system and unzip it into the plugins folder in the Eclipse directory.
  3. Start Eclipse. Go to Window > Open Perspective > Other... and choose Lisp.
  4. Right click in the Lisp Navigator and select New > Project. Choose Lisp Project in the wizard, give it a name of your chosing and hit Finish.
  5. Open the Lisp file in the project you just created and code away!

Why Cusp?

Because EcLisp, however clever the name might have been, was already taken.

Why use Cusp?

There are many reasons you might prefer to use Cusp over Slime, including but not limited to:

Of course, there are certainly reasons to prefer Slime:

Handy Key Shortcuts

All commands can be seen in the "Lisp" menu when you have a Lisp file open. Still, here's a quick reference to the most handy ones:

While in the Repl, use Ctrl+P and Ctrl+N to move through the history of commands you have sent. Or just click the history button and find them in the menu.