This is a language package for programming Crestron SIMPL+ module. It has syntax highlighting, document formatting, snippets for a lot of S+ functions and code blocks, build tasks to compile your code, and a shortcut for the S+ help file. After installing the extension, please open your VSCode Settings (CTRL-Comma) and search for Splus and verify/update the file locations in there.
You must enable or disable the platforms you wish to compile for in the settings. By default only 3 series is enabled.
This extension currently requires that VSCode has opened the containing folder the S+ file(s) are in. As of 0.4.2, the extension will open the folder for you when open a single file, but only if VSCode doesn't have another folder open. If you are getting No build errors found
messages when building S+ files, make sure you have the opened the containing folder.
- Updated Snippets (eventhandler)
- Fixed extension entrypoint
- Updated Snippets (event callback)
- Added language icon
- Replaced dependency for BrowserPreview extension with internal browser
- Updated dependencies
- When opening a single file, VSCode will now open the containing folder to enable build tasks
- Fixed build bug when PowerShell is the default shell
- Fixed document formatter adding a blank line to the ends of files
- Continued syntax refinement (by bitm0de)
- Code cleanup and rework
- Lots of updates to syntaxes
- API file generation for SIMPL# libraries added to build tasks (CTRL+SHIFT+B)
- Fixed helpfile shortcut
- Added online help shortcut to context menu (or CTRL+SHIFT+F2)
- Browser Preview (auchenberg.vscode-browser-preview)
- Install "Open In Application" extension by Fabio Spampinato: https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-open-in-application
- Install "Bracket Pair Colorizer 2" by CoenraadS: https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2
- Use a different theme than the default themes for full syntax highlighting (One Dark Pro is amazing)
This extension contributes the following commands:
splus.localHelp
: Opens the local SIMPL+ help reference filesplus.webHelp
: Opens the online SIMPL+ help reference page
This extension contributes the following settings:
splus.compilerLocation
: sets the path of the SIMPL+ compilersplus.helpLocation
: sets the path of the SIMPL+ help filesplus.enable2series
: enables 2 series platform for build targetssplus.enable3series
: enables 3 series platform for build targetssplus.enable4series
: enables 4 series platform for build targets
All commands are added to the right click context menu of the editor tab, and the following keybindings have been added.
ctrl+shift+F1
: Opens the local SIMPL+ help reference filectrl+shift+F2
: Opens the online SIMPL+ help reference page