SmartBASIC language syntax file for Sublime Text editor.
- Total 21
- Win 18
- Mac 2
- Linux 1
|May 16||May 15||May 14||May 13||May 12||May 11||May 10||May 9||May 8||May 7||May 6||May 5||May 4||May 3||May 2||May 1||Apr 30||Apr 29||Apr 28||Apr 27||Apr 26||Apr 25||Apr 24||Apr 23||Apr 22||Apr 21||Apr 20||Apr 19||Apr 18||Apr 17||Apr 16||Apr 15||Apr 14||Apr 13||Apr 12||Apr 11||Apr 10||Apr 9||Apr 8||Apr 7||Apr 6||Apr 5||Apr 4||Apr 3||Apr 2||Apr 1|
SmartBASIC Syntax Highlighting for Sublime Text
A Sublime Text syntax definition for Laird Connectivity's SmartBASIC language.
Laird Connectivity’s smartBASIC is an event-driven programming language that was designed to make BLE technology development quicker and simpler, vastly cutting down time to market. A simple smartBASIC application encapsulates the complete end-to-end process of reading, writing, and processing sensor data as well as advertising, connecting, security, power management, and wireless status. See https://www.lairdconnect.com/wireless-modules/bluetooth-modules for more information.
Laird provides syntax highlighting files for Notepad++ (Windows) and Textpad (Mac OSX) along with their regular module firmware version releases. This Sublime Text syntax file is based on the latest Notepad++ syntax files for BL652, BL653 and BL654 (as of today… ping me in case there is a new firmware version, I might have missed). Other than the original syntax files from Laird, which cover only the language scope of each module's SmartBASIC implementation, this Sublime Text syntax file is a superset of these scopes.
The drawback of this implementation is, that when working on e.g. a BL652 module, Sublime Text would also highlight SmartBASIC functions, which are only available on the higher-end BL653 or BL654 modules. The advantage is, that you only need one syntax file and no need to switch syntax files when working with different modules in parallel.
SmartBASIC files are usually given names with suffix .sb or .sblib. This Sublime Text syntax definition recognizes both.
Place the smartbasic.sublime-syntax file inside the Sublime Text packages User folder (Preferences | Browse Packages…) and restart Sublime Text.
Install with Package Control
Install Package Control and run “Package Control: Install Package” command, find and install SublimeSmartBASIC package, restart Sublime Text if necessary.
This package is licensed under the MIT License.