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

JSX

by allanhortle ST2/ST3

Language Definitions for JSX files.

Details

Installs

  • Total 106K
  • Win 33K
  • OS X 56K
  • Linux 17K
Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12
Windows 55 88 34 41 76 58 86 90 112 65 46 82 108 95 76 47 31 35 64 71 74 75 57 44 36 69 57 60 40 74 44 45 58 54 78 74 55 42 56 72 61 79 56 65 45 35
OS X 67 127 59 36 102 123 125 110 101 71 60 124 170 162 83 56 47 56 81 77 83 96 85 41 40 77 73 62 57 81 34 42 73 94 80 92 74 32 46 91 71 81 78 87 42 46
Linux 23 42 26 25 20 26 44 32 35 28 23 48 48 29 35 21 23 30 35 35 46 32 31 23 25 26 21 35 22 36 18 15 29 23 40 39 28 13 22 26 26 30 32 30 24 26

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 }
    ]
}