Language definition for NXP's JCShell scripts on Sublime Text 2/3.
Contains syntax highlighting, snippets and auto-completion.
Two color scheme are provided. The default Monokai:
And Seti_UX (for Seti theme):

The preferred and easiest way to install the package for Sublime Text is the following:
- Install Package Control if not done already
- Open
Tools→Command Palette...(cmd+shift+P) - Select
Package Control: Install Package - Search for
JCShell Toolspackage and install it
If you want to do the installation manually (for example on an offline computer):
- Clone (or download) this repository
- Open your
Packagesfolder (Preferences: Browse Packagesin the Command Palette) - Create a folder
JCShell Toolsand copy the repository content inside
You can change the default color scheme for .jcsh files. For that create a new file JCShell Tools.sublime-settings inside your User folder (Packages/User) and set the desired color_scheme value.
For example if you want to use the provided Seti_UX color scheme the file should contains:
{
"color_scheme": "Packages/JCShell Tools/Seti_UX JCShell Tools.tmTheme"
}
If you want to add support in a different color scheme the following supplementary scopes needs to be defined:
variable.otherstring.unquotedkeyword.control.labelkeyword.function.definitionkeyword.modifier.variablepunctuation.definition.variable.referencekeyword.assignment
You can see the [Monokai JCShell Tools.tmTheme](Monokai JCShell Tools.tmTheme#L10#L94) file for example values.
Even though the following syntaxes are valid, JCShell Tools is not accepting it:
- When a function/script name contains a closing parenthese (
)) - When a variable assignment made by operator (
=) contains a space or a quote (e.g.:test$(func param)var= value)
Licensed under the BSD 3-Clause license. See license file for more information.
Developed by Michael Roy, based on a draft from Connor Röhricht.
Please create an issue for any bug you may find.