Skip to content

lateau/processing2-emacs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emacs major-mode for Processing 2.0

Based on Rudolf Olah's version and modification by Bunny Blake.

https://github.com/emacsmirror/processing-mode

https://gist.github.com/4083326

The snippets are taken from Sublime Text 2's Processing plugin and converted to yasnippet snippets.

Setup

In your .emacs file, add this:

(add-to-list 'load-path "/path/to/processing2-emacs/")
(autoload 'processing-mode "processing-mode" "Processing mode" t)
(add-to-list 'auto-mode-alist '("\\.pde$" . processing-mode))

To add the snippets put this also in your .emacs file:

(yas-load-directory  "/path/to/processing2-emacs/snippets")

and eventually add this to activate yasnippet if it is not:

(add-hook 'processing-mode-hook 'yas-minor-mode)

Usage

The key-bindings are:

C-c C-r    Run a sketch.
C-c C-b    Compile a sketch into .class files.
C-c C-p    Run a sketch full screen.
C-c C-e    Export sketch.

About

Processing 2 major-mode for Emacs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%