ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Rea​Syntax

by Breeder ST2/ST3

Syntax for scripting languages found in Cockos REAPER: Jesusonic/EEL/WALTER

Details

Installs

  • Total 405
  • Win 267
  • OS X 102
  • Linux 36
Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8
Windows 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 1 2 2 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ReaSyntax

Sublime text syntax package for scripting languages found in Cockos REAPER: Jesusonic/EEL/LUA/WALTER

A lot of effort has been invested in this. If you seriously use it, please consider supporting the developer :heart::heart::heart:

Installation

Using Package Control

  • Install Package Control
  • Use Cmd+Shift+P or Ctrl+Shift+P and search for Package Control: Install Package
  • Wait for Package Control to download latest package list and search for ReaSyntax

Download manually

  • Download zipped repository from here
  • Unzip the files and rename the folder to ReaSyntax
  • Find your Packages directory using the menu item Preferences -> Browse Packages...
  • Copy the folder into your Sublime Text Packages directory

Using git

  • Find your Packages directory using the menu item Preferences -> Browse Packages...
  • While inside the Packages directory, clone the repository using the command: git clone https://github.com/Breeder/ReaSyntax/ "ReaSyntax"

Features

Syntax for 3 languages found in REAPER:
  • JS - scripting language which is compiled on the fly and allows you to modify and/or generate audio and MIDI, as well as draw custom vector based UI and analysis displays.

  • ReaScript/EEL - REAPER lets you use both Python, Lua and its own language EEL to create scripts that can call any action and use most of the API functions. EEL looks a lot like JS (good part of JS reference is valid for EEL) and is implemented natively in REAPER so there are no dependencies to run EEL scripts. It also appears to run somewhat faster than Python.

  • ReaScript/Lua - Sublime Text has all the syntax needed for Lua scripts but ReaSyntax adds a secret sauce - auto complete for REAPER API! Do less documentation study and more coding!

  • WALTER - enables definition of visual layout and appearance of objects within REAPER – currently, it can be used to customize the layout and appearance of the track panels, mixer panels, envelope panels, transport etc…

Auto complete:

ReaSyntax includes completions for all built-in functions and their parameters (JS, EEL, LUA). WALTER completions consist of all possible keywords.

Additional color schemes:
  • Default - Modification of built-in Monokai Bright made to work a bit better with supplied syntax
  • JS Editor - Replica of the built-in JS Editor found in REAPER
Automatic detection of JS files:

JS files have no file extension, but ReaSyntax can detect JS file directly from the file content. The feature is enabled by default but can be turned off in package settings.

Open Preferences -> Package Settings -> ReaSyntax -> Settings - User and set "detect_js_file:" to true or false. For examples, go to Preferences -> Package Settings -> ReaSyntax -> Settings - Default

Automatically load color schemes for each syntax individually:

Open Preferences -> Package Settings -> ReaSyntax -> Settings - User and set "color_scheme_js", "color_scheme_eel" or "color_scheme_walter" to color scheme you would like to use with that specific syntax. If you would like to use currently selected color scheme (in Preferences -> Color Scheme) just set those to null.

For examples, go to Preferences -> Package Settings -> ReaSyntax -> Settings - Default

Screenshots

  • EEL Syntax using Default color scheme: EEL Syntax using Default color scheme

  • JS Syntax using JS Editor color scheme: EEL Syntax using JS Editor color scheme

  • WALTER Syntax using Default color scheme: EEL Syntax using Default color scheme