This is a syntax highlighting extension for the LairdTM smartBASIC Lanugage. Based largely on the default VB extension here - https://github.com/Microsoft/vscode/tree/master/extensions/vb
It is most certainly a work in progress but this should cover most of the basics
-
Extract files and move folder to the following directory
Windows:
%USERPROFILE%\.vscode\extensions
macOS/Linux:
$HOME/.vscode/extensions
-
Restart VS Code
CMD/CTRL+SHIFT+P
->Reload Window
If syntax highlighting doesn't happen automatically after restarting you may need to set the language mode for the file
-
Change language mode for
.sb
fileshttps://code.visualstudio.com/docs/languages/overview#_changing-the-language-for-the-selected-file
-
Choose
smartBASIC
from the language list
$ at the end of string variables not recongized as part of the variable
Initial release of smartBASIC Language Extension