Skip to content

Commit c6843c7

Browse files
authored
Update README.md
Added to readme.md
1 parent 44e3394 commit c6843c7

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
# SmartBASIC Syntax Highlighting for Sublime Text
2-
A Sublime Text syntax definition for SmartBASIC language from Laird Connectivity.
2+
A Sublime Text syntax definition for Laird Connectivity's SmartBASIC language.
3+
4+
## SmartBASIC
5+
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.
6+
7+
## Syntax Highlighting
8+
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 (FW 28.11.8.0), BL653 (FW 30.2.3.0) and BL654 (FW 29.5.7.2). 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.
9+
10+
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.
11+
12+
## File Recognition
13+
SmartBASIC files are usually given names with suffix .sb or .sblib. This Sublime Text syntax definition recognizes both.
14+
15+
## Manual Installation
16+
Place the smartbasic.sublime-syntax file inside the Sublime Text packages User folder (Preferences | Browse Packages...) and restart Sublime Text.
17+
18+
## Install with Package Control
19+
Need to check how to contribute to Package Control...
20+
21+
## License
22+
This package is licensed under the MIT License.

0 commit comments

Comments
 (0)