JSX

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i JSX

Weekly Downloads

20

Version

1.1.0

License

ISC

Last publish

Collaborators

  • allanhortle