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

JSX

by allanhortle ST2/ST3

Language Definitions for JSX files.

Details

Installs

  • Total 90K
  • Win 27K
  • OS X 48K
  • Linux 14K
May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10
Windows 21 71 77 62 30 37 59 59 54 60 71 36 29 64 67 69 65 60 38 48 51 64 73 71 45 27 43 65 64 71 64 71 38 38 69 77 56 72 67 33 43 66 64 72 70 75
OS X 21 117 107 98 59 46 82 81 98 98 85 36 52 80 89 89 93 87 41 46 93 83 86 87 85 44 53 96 104 93 110 107 40 51 101 86 95 107 115 47 46 59 90 108 119 146
Linux 8 32 34 39 21 22 23 30 32 29 26 23 17 38 27 38 34 35 28 21 24 20 42 35 23 32 16 23 39 42 37 34 15 17 23 46 32 34 35 18 16 19 35 37 39 53

Readme

Source
raw.​githubusercontent.​com

JSX-SublimeText

Language Definitions for JSX files.

Emmet Support

Emmet's default is to not support JS files. So you will need to add a keyboard shortcut to tab complete in JSX files.

open up Preferences > Key Bindings - user and add this entry:

{
    "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context": [
        {
            "operand": "source.js.jsx", 
            "operator": "equal", 
            "match_all": true, 
            "key": "selector"
        },
        {   
            "key": "selection_empty", 
            "operator": "equal", 
            "operand": true,
            "match_all": true 
        }
    ]
},
{ "keys": ["tab"], "command": "next_field", "context":
    [
        { "key": "has_next_field", "operator": "equal", "operand": true }
    ]
}