A Processing bundle for Sublime Text 2. 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 Processing.app 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.
###OSX
Make sure to run after you have installed the Processing.app Tools -> Install "processing-java"
###Linux
You will need to set your PATH to where your processing application is located, e.g.:
export PATH=$PATH:/opt/processing/processing-2.0b4
###Windows
You have to edit the file processing.sublime-build
and replace "processing-java"
with "c:/path/to/processing/processing-java.exe"
, otherwise the buildsystem won't work.
There are 3 easy ways to install the Processing Bundle:
If you are using Sublime Package Control, you can easily install the Processing Bundle via the Sublime Text 2 -> Preferences -> Package Control: Install Package
menu item.
Alternatively you can install the theme and keep up to date by cloning the repo directly into your Packages
directory in the Sublime Text 2 application settings area.
Go to your Sublime Text 2 Packages
directory and clone the theme repository using the command below:
git clone https://github.com/b-g/processing-sublime/ "Processing"
- 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 2
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
- With
cmd+shift+b
and typingbuild
you get alternative buildsystems:Run sketch fullscreen
and variousExport sketch options
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!
- This bundle is very much based on Processing TextMate Bundle by Leon Hong, thanks for all the good work!
- I used the textmate-to-sublime-converter to convert the snippets from the original Processing TextMate Bundle to Sublime Text speak.
- Syntax highlighting tweaking by Mark Brand
- Linux build script and testing by Julien Deswaef