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

JSX

by allanhortle ST2/ST3

Language Definitions for JSX files.

Details

Installs

  • Total 81K
  • Win 24K
  • OS X 45K
  • Linux 13K
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 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6
Windows 61 68 81 65 37 50 80 56 76 84 86 43 53 86 73 62 68 73 46 48 72 75 59 76 80 37 45 67 64 58 88 74 54 56 82 78 83 75 70 37 42 63 66 85 75 80
OS X 74 92 117 118 51 51 100 102 108 94 111 50 49 88 116 109 108 107 58 43 98 96 108 109 110 59 57 76 105 103 107 117 48 47 79 98 118 91 140 50 59 96 103 103 111 115
Linux 30 33 27 30 28 34 32 45 34 32 29 23 28 35 44 45 42 49 27 21 25 33 43 32 45 18 25 31 29 49 45 32 28 42 26 35 32 42 41 23 23 28 31 46 42 27

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