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

JSX

by allanhortle ST2/ST3

Language Definitions for JSX files.

Details

Installs

  • Total 77K
  • Win 22K
  • OS X 43K
  • Linux 12K
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 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9
Windows 58 58 88 74 54 56 82 78 83 75 70 37 42 63 66 85 75 80 48 58 61 55 65 58 47 35 31 57 49 65 65 59 33 37 64 70 59 72 69 27 44 54 60 72 83 65
OS X 97 103 107 117 48 47 79 98 118 91 140 50 59 96 103 103 111 115 52 60 76 87 119 77 112 52 53 78 82 104 94 96 52 53 92 77 130 100 112 65 56 108 94 108 122 175
Linux 22 49 45 32 28 42 26 35 32 42 41 23 23 28 31 46 42 27 25 27 31 38 39 38 41 29 32 34 26 31 34 25 18 14 23 40 39 34 33 27 23 31 34 32 54 53

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