scvsc
is a SuperCollider
extension for
Visual Studio Code.
Highly inspired by Hadron, and took some code from vscode-supercollider. There's still a lot to learn from Hadron!
- Starting
sclang
andscsynth
from vscode - Evaluating selected text
- Evaluating regions between parentheses
( )
- Hushing the server
- Highlight the lines that are being sent to be interpreted for like 2 seconds.
I've only tested this on MacOS.
- Install the scvsc extension
- Install SuperCollider.
- (optional) configure the location of your
sclang
instance in your vscodesettings.json
:- example:
"supercollider.sclang.cmd": "/Applications/SuperCollider.app/Contents/MacOS/sclang",
- example:
- The
scvsc
commands will be available in your vscode command palette, and you can map them to whatever keyboard shortcuts you like. - Alternatively, if you want to emulate the SCIDE keybindings, go to File -> Preferences -> Settings -> Extensions -> scvsc and set "Use Scide Keybindings" to
true
.
- Clone repository.
- Run
npm install
in repo root at the command line. - Open
extension.js
in VSCode and pressF5
. Select the option to run the "Extension Development Host." - Open a
.scd
file. You may be prompted to install the HyperScope vscode extension, allow it. You will see an "sclang" indicator in the lower left.
- open up docs in browser
- make the status bar more informative / nicer looking
- Auto-complete or suggestions
- use a language server or something or learn about language server in vscode
- open up docs directly in vscode? some kinda html renderer or something?
scvsc is licensed under the MIT License.