Welcome to the ultimate modern development environment for Crestron SIMPL+. This extension allows you to bypass the legacy SIMPL+ IDE and write, manage, and compile your .usp modules directly within Visual Studio Code.
- Syntax Highlighting: Full colorization for all SIMPL+ constructs, keywords, compiler directives, events, and parameter properties.
- Snippets Library: Quickly scaffold your code! Start typing keywords like
wait,delay,find,print,int,stringto auto-complete common structures. - Built-in Compilation: You can compile your modules right from your editor without opening SIMPL+.
- Download the latest
.vsixfile from this repository. - Open Visual Studio Code.
- Open the Extensions panel (
Ctrl+Shift+X). - Click the
...menu in the top right corner of the Extensions panel. - Select Install from VSIX...
- Locate and select the downloaded
simplplus-x.x.x.vsixfile. - Restart VS Code or Reload the Window (
Ctrl+Shift+P->Developer: Reload Window).
This extension automatically links to the Crestron Spluscc.exe compiler installed on your system.
To compile a .usp file:
- Open your
.uspfile in VS Code. - Right-click anywhere in the code editor and select SIMPL+: Compile Module.
(Alternatively, press
Ctrl+Shift+P, typecompile, and select the command). - A new Output Channel named
SIMPL+ Compilerwill automatically open at the bottom of your screen. - It will stream the build progress, errors, and warnings exactly as if you were in the Crestron IDE.
- Windows OS (Required for compiling).
- Crestron SIMPL+ Compiler must be installed at its default location:
C:\Program Files (x86)\Crestron\Simpl\Spluscc.exe.