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

CJSX Syntax

by Guidebook ST3

Syntax highlighting for CJSX in Sublime Text 3

Labels CJSX, syntax

Details

Installs

  • Total 4K
  • Win 931
  • OS X 2K
  • Linux 626
Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 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
Windows 0 1 1 0 0 1 1 0 0 1 0 3 0 1 1 1 0 1 2 0 0 0 1 0 0 0 0 0 0 0 0 0 2 1 0 1 2 0 2 1 2 0 1 0 2 0
OS X 0 2 1 0 1 1 0 0 2 2 1 1 1 1 0 0 0 2 1 0 1 0 1 0 0 1 1 1 1 3 0 0 1 0 0 2 3 0 0 1 0 0 0 2 1 1
Linux 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 2 0 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-cjsx

Sublime syntax highlighting for CJSX

Version Support

This package uses the .sublime-syntax syntax definition for rich highlighting and improved performance. As a consequence, only Sublime Text 3, Build 3103 and newer is supported. If you're using Sublime Text 2 or an older version of Sublime Text 3, you can retrieve the old .tmLanguage file from this commit – however, only the master .sublime-syntax definition will receive future updates.

Installation

Install via Package Control

  1. You will need the Package Control Package Manager for Sublime
  2. Open the command pallete with ⌘+shift+p
  3. Type install and select Package Control: Install Package
  4. Wait a moment for the package list to appear, and type cjsx and select CJSX Syntax
  5. Open a .cjsx file and in the lower right hand corner of your Sublime window, open the syntax dropdown.
  6. Select “Open all with current extension as…” and then choose 'CJSX'

Install from source

To install this plugin from Github, follow these steps:

  1. Open Sublime and open “Package Control” (cmd + shift + p).
  2. Type “Add Repository”; select the result (hit enter).
  3. At the bottom of your Sublime window you will see a text input that prompts you for the Github URL.
  4. Copy and paste: “https://github.com/Guidebook/sublime-cjsx”.
  5. Give Sublime a few minutes to add the repo.
  6. Open “Package Control” again (cmd + shift + p) and type “Install Package”.
  7. Type “sublime cjsx”; select the result (hit enter).
  8. Give Sublime a few minutes to install the package.
  9. Open a .cjsx file and in the lower right hand corner of your Sublime window, open the syntax dropdown.
  10. Select “Open all with current extension as…” and then choose 'CJSX'

Credit

Syntax highlighting adapted from sublime-react by Facebook / Jonas Gebhardt jonas.gebhardt@gmail.com.