Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 3.44 KB

README.md

File metadata and controls

51 lines (36 loc) · 3.44 KB

Processing Bundle for Sublime Text 2

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.

Preparations

###OSX Make sure to run after you have installed the Processing.app Tools -> Install "processing-java"

Use external editor preference

###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.

Installation

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 2 -> 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 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 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 2 Packages directory e.g. OS X: ~/Library/Application Support/Sublime Text 2/Packages/Processing

Usage

  • Select in Sublime Text the Processing buildsystem: Tools -> Build system -> Processing
  • Run the sketch: cmd+b
  • With cmd+shift+b and typing build you get alternative buildsystems: Run sketch fullscreen and various Export sketch options

Getting Start 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!

Acknowledgements