I used to be able to type div
and then press tab and sublime would autocomplete and output <div></div>
. The same thing with components. I would type MyComponent
and press tab and sublime would autocomplete <MyComponent></MyComponent>
. Since today this no longer works for me. Any ideas why?
I tried finding a solution, but have been unsuccessful. Below is a keybinding that I have tried, but it does not work.
{ "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context":
[
{ "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" },
{ "match_all": true, "key": "selection_empty" },
{ "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" },
{ "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" },
{ "match_all": true, "key": "is_abbreviation" }
]
}