mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
1.5 KiB
1.5 KiB
title | description |
---|---|
SpaceVim lang#processing layer | This layer is for working on Processing sketches. It provides syntax 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 your 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 your current buffer.
Note that the sketch is run asynchonously, so you are free to continue editing while it is running.