JCShell Tools
Language definition for NXP’s JCShell scripts on Sublime Text 2/3.
Details
Installs
- Total 503
- Win 293
- Mac 148
- Linux 62
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 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
JCShell Tools
Language definition for NXP's JCShell scripts on Sublime Text 2/3.
Contains syntax highlighting, snippets and auto-completion.
Screenshots
Two color scheme are provided. The default Monokai:
And Seti_UX (for Seti theme):
Installation
Automatically via Package Control
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 Tools
package and install it
Manual installation
If you want to do the installation manually (for example on an offline computer):
- Clone (or download) this repository
- Open your
Packages
folder (Preferences: Browse Packages
in the Command Palette) - Create a folder
JCShell Tools
and copy the repository content inside
Configuration
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"
}
Custom color scheme
If you want to add support in a different color scheme the following supplementary scopes needs to be defined:
variable.other
string.unquoted
keyword.control.label
keyword.function.definition
keyword.modifier.variable
punctuation.definition.variable.reference
keyword.assignment
You can see the Monokai JCShell Tools.tmTheme file for example values.
Known limitations
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
)
About
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.