1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00
SpaceVim/docs/layers/lang/processing.md
SallySoul 0271cd890a Could we add a lang#processing? (#2696)
* 🎁 Add first pass of lang#processing

* Add processing.md
2019-03-28 14:41:52 +08:00

1.5 KiB

title description
SpaceVim lang#processing layer This layer is for working on Processing sketches. It provides sytnax checking and an app runner

Available Layers >> lang#processing

Description

This layer is for working on Processing sketches. It builds on top of the existing vim plugin sophacles/vim-processing.

Features

  • Syntax highlighting and indent
  • Run sketches asynchonously

Install

You will need to install the processing-java tool. This is best done via the Processing IDE which can be obtained from the processing website. Once you have the IDE, you can select Tools -> install "processing-java".

Layer

To use this configuration layer, update custom configuration file with:

[[layers]]
  name = "lang#processing"

Key bindings

Key bindings Descriptions
SPC l r Run your sketch

Code runner

You can build and run your sketch with SPC l r. The sketch to run is decided based on the directory of you current buffer. Note that the sketch is run asynchonously, so you are free to continue editing while it is running.