VS Code snippets for creating Reabank files #233
ovska
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After many hours of slowly scrolling the Reabank documentation in search of colors/icons, and reading the UACCv2 spec, I created some snippets that can be used to set the the articulation color, icon and program number a little easier 😀
Download: https://gist.github.com/ovska/1d23c4631f4c465f507841feb47dcccf
Usage in VS Code:
Snippets: Configure snippets
command (Ctrl+Shift+P
)reabank.json
filereabank.json
and put it to%appdata%\Code\User\snippets\
You can set the prefixes however you like, below are the defaults. For those unfamiliar, type the snippet shortcut, then press
TAB
to see the choices.TAB
orENTER
accepts the choice, and you can search the options by text as welli=
for iconsc=
for colorsprogram
oruacc
for program numbers/namesThis isn't the most ergonomic way to use it, and falls short of creating an actual language server for Reabank, but it was enough to get me over the most painful parts so I didn't go that far :)
The colors and icons are sourced from Reaticulate.com, UACC names from publicly available Spitfire library manuals.
Beta Was this translation helpful? Give feedback.
All reactions