Coder Social home page Coder Social logo

processing-sublime's Introduction

Processing Bundle for Sublime Text 2

A Processing bundle for Sublime Text 2. Check the demo video on Vimeo!

Please note: you must have Processing 2.0b6 or greater, otherwise the Build System of the bundle won't work. The video is a bit outdated, you no longer need to have the Processing application open to run sketches. If, for any reason, you work with and older version of Processing, e.g., 1.5.1, you can use the old version of this package.

Configuration

OSX

The processing-java command line tool must be installed from within the Processing.app. From the menu bar, select Tools -> Install "processing-java".

processing-java command line tool

Linux

The Processing application must be added to your PATH, e.g.:

export PATH=$PATH:/opt/processing/processing-2.0b4

Windows

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

  • Select Computer from the Start menu
  • Choose System Properties from the context menu
  • Click Advanced system settings > Advanced tab
  • Click on Environment Variables, under System Variables, find PATH, and click on it
  • In the Edit windows, modify PATH by adding the location of the Processing application. Each entry is separated with a semicolon.

Installation

There are 3 easy ways to install Processing Bundle:

Using the 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 bundle and keep it updated by cloning the repo directly into your Packages directory of Sublime Text 2.

Go to your Sublime Text 2 Packages directory and clone the repository using the command below:

git clone https://github.com/b-g/processing-sublime/ Processing

Downloading 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

  • From within Sublime Text, select the Processing Build System: Tools -> Build System -> Processing
  • Run the sketch: super+b
  • With super+shift+b and typing build you get alternative buildsystems: Run sketch fullscreen and various Export sketch options

Hints

  • 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, the excellent and free video tutorial by nettuts is recommended: [Perfect Workflow in Sublime Text](http://net.tutsplus.com/articles/news/perfect-workflow-in-sublime-text- free-course/). If you are short on time, then make sure you watch at least the [Multiple Cursors and Incremental Search]( https://tutsplus.com/lesson /multiple-cursors-and-incremental-search/) lesson (~6min), highly recommended!

Acknowledgements

processing-sublime's People

Contributors

rlfbckr avatar arturhoo avatar xuv avatar bohnacker avatar fomlhaut avatar bertbalcaen avatar gregersn avatar sbrosinski avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.