vscode-supercollider is a SuperCollider
extension for your
Visual Studio Code.
The extension currently supports text highlighting and
running in the VS Code terminal. For this extension to work
properly, you must have SuperCollider already installed.
Disclaimer: This extension has only been tested on Windows.
Features
Syntax highlighting
Running SuperCollider from the VS Code terminal
Instructions
Install the vscode-supercollider extension in VS Code.
In VS Code use the command Preferences: Open Settings (JSON).
Enter the setting "supercollider.sclangCmd": "[Command to run sclang]".
This will depend on your operating system, and on the default shell
you use within vscode. Examples:
Open a SuperCollider file (.scd). To run use
Ctrl + Shift + b. Once your SuperCollider script
is running you can kill it with Ctrl + .
N.B: Since SuperCollider will run code sequentially
without waiting for the previous command to finish
executing. Make sure any code requring the server is wrapped
as follows:
s.waitForBoot{
//Code here
}
Future Improvements
Improved text highlighting
Auto-complete
Evaluating individual lines/blocks of code
License
vscode-supercollider is licensed under the
MIT License.