ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

JCShell Tools

by Michael Roy ALL

Language definition for NXP’s JCShell scripts on Sublime Text 2/3.

Details

Installs

  • Total 481
  • Win 282
  • Mac 138
  • Linux 61
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6
Windows 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1
Mac 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
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: Monokai screenshot And Seti_UX (for Seti theme): Seti screenshot

Installation

Automatically via Package Control

The preferred and easiest way to install the package for Sublime Text is the following:

  1. Install Package Control if not done already
  2. Open ToolsCommand Palette... (cmd+shift+P)
  3. Select Package Control: Install Package
  4. Search for JCShell Tools package and install it

Manual installation

If you want to do the installation manually (for example on an offline computer):

  1. Clone (or download) this repository
  2. Open your Packages folder (Preferences: Browse Packages in the Command Palette)
  3. 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.