Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Sublime Text package for the programming language Processing
branch: master

Processing Bundle for Sublime Text

A Processing bundle for Sublime Text 2 and 3. Check the demo video on vimeo! Please note: you must have at least (>=Processing 2.0b6), otherwise the buildsystem of the this bundle won't work. The video is a bit outdated, you don't have to run any longer the in parallel to run sketches. If you have to stick for some reason to an old Processing verion e.g. 1.5.1 you can use the old version of this bundle.



Make sure to run Tools -> Install "processing-java" after you have installed the

Use external editor preference

This bundle assumes that you chose to install processing-java for all users (recomended). If you choose/have to install processing-java only in your home directory, then you have to slightly change the build script, see comment in Processing.sublime-build.


You will need to set your PATH to where your processing application is located, e.g.:
export PATH=$PATH:/opt/processing/processing-2.0b4

You also need to create an alias for processing-java in /bin/ instead of /usr/bin/, e.g.:
sudo ln -s /opt/processing/processing-java /bin/processing-java


You will need to set your PATH environment variable to where your processing application is located:

  • Open the "Advanced System Settings". e.g. by running "sysdm.cpl"
  • In the System Properties window, click on the Advanced tab.
  • In the Advanced section, click the Environment Variables button.
  • Edit the "Path" variable. Append the processing path (e.g.: ;C:\Program Files\Processing-2.0b6\) to Variable value. Each entry is separated with a semicolon.

or write a seperate build system as documented in this comment

Advanced System Settings -> Environment Variables


There are 3 easy ways to install the Processing Bundle:

Using Sublime Package Control

If you are using Sublime Package Control, you can easily install the Processing Bundle via the Sublime Text -> Preferences -> Package Control: Install Package menu item.

Using Git

Alternatively you can install the theme and keep up to date by cloning the repo directly into your Packages directory in the Sublime Text application settings area.

Go to your Sublime Text Packages directory and clone the theme repository using the command below: git clone "Processing"

Download Manually

  • Download the files using the GitHub .zip download option
  • Unzip the files and rename the folder to Processing
  • Copy the folder to your Sublime Text Packages directory e.g. OS X: ~/Library/Application Support/Sublime Text 2/Packages/Processing


  • Select in Sublime Text the Processing buildsystem: Tools -> Build system -> Processing
  • Run the sketch: cmd+b (make sure that you have the normal sketch structure of a folder and a pde-file: mysketch/mysketch.pde)
  • With cmd+shift+b and typing build you get alternative buildsystems: Run sketch fullscreen and various Export sketch options

Custom shortcuts

To get .pde files to run with cmd+r and cmd+shift+r instead of cmd+b and cmd+shift+b Add the following code to Preferences > Key Bindings - User in Sublime Text:

    { "keys": ["super+r"], "command": "build", "context":
    { "key": "selector", "operator": "equal", "operand": "source.pde" }
    { "keys": ["super+shift+r"], "command": "build", "args": {"variant": "Run sketch fullscreen"}, "context":
    { "key": "selector", "operator": "equal", "operand": "source.pde" }


  • Console error messages are clickable: e.g. double click test.pde:10:0:10:0: The function reect(int, int, int, int) does not exist. to jump to the related line and file.

Getting Started With Sublime Text

If you are new to Sublime I recommend the excellent and free video tutorial by nettuts: Perfect Workflow in Sublime Text. If you are short of time, then make sure to watch at least the lession Multiple Cursors and Incremental Search (~6min), highly recommended!


Something went wrong with that request. Please try again.