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

JSX

by allanhortle ST2/ST3

Language Definitions for JSX files.

Details

Installs

  • Total 72K
  • Win 20K
  • OS X 40K
  • Linux 11K
Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5
Windows 63 59 72 69 27 44 54 60 72 83 65 36 47 78 74 65 75 43 24 27 36 67 57 45 49 37 42 57 61 76 58 58 34 45 52 71 75 81 65 37 39 41 55 62 70 64
OS X 69 130 100 112 65 56 108 94 108 122 175 67 53 93 96 112 97 91 27 31 46 79 76 66 60 33 53 63 75 90 94 91 52 57 78 90 101 88 86 46 44 83 85 90 106 80
Linux 38 39 34 33 27 23 31 34 32 54 53 12 18 30 36 24 32 23 13 14 21 21 26 24 19 20 14 25 26 32 41 25 14 28 27 32 26 28 38 16 15 28 35 37 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 }
    ]
}