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

JSX

by allanhortle ST2/ST3

Language Definitions for JSX files.

Details

Installs

  • Total 85K
  • Win 25K
  • OS X 46K
  • Linux 14K
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 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
Windows 12 38 38 69 77 56 72 67 33 43 66 64 72 70 75 46 45 67 67 81 61 59 42 59 54 69 65 90 73 40 48 69 65 68 81 65 37 50 80 56 76 84 86 43 53 86
OS X 7 40 51 101 86 95 107 115 47 46 59 90 108 119 146 51 54 77 87 123 97 95 41 75 103 78 117 118 135 53 65 88 82 92 117 118 51 51 100 102 108 94 111 50 49 88
Linux 3 15 17 23 46 32 34 35 18 16 19 35 37 39 53 26 34 25 29 30 40 50 17 25 30 35 25 39 38 22 26 38 38 33 27 30 28 34 32 45 34 32 29 23 28 35

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