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

JSX

by allanhortle ST2/ST3

Language Definitions for JSX files.

Details

Installs

  • Total 97K
  • Win 30K
  • OS X 52K
  • Linux 16K
Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9
Windows 58 32 31 69 64 70 80 67 41 45 47 70 65 69 93 44 35 68 76 84 72 79 38 31 53 63 70 63 75 39 31 71 60 85 75 60 28 39 53 63 71 66 63 40 44 47
OS X 83 40 47 79 99 86 77 95 59 36 63 92 98 109 139 53 52 84 96 108 88 166 39 44 78 85 107 95 101 42 49 74 105 82 86 93 44 56 77 82 88 87 82 48 39 64
Linux 27 19 22 20 31 38 30 27 26 22 25 36 37 37 35 22 21 28 36 30 47 70 16 22 24 40 32 36 50 12 19 24 28 26 32 31 15 30 23 26 38 40 30 19 27 36

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