Closed robotcigan closed 8 years ago
Awesome job! Just a small issues with latest version... Emet... and autocomplete for simple HTML tags like img, button, input and so on, don't work anymore. Regards!
This highlighter doesn't have any autocomplete. Are you using some other package to provide autocompletion?
Add in your emmet key binding this code: (Preferences → Package Settings → Emmet → Key bindings – User)
[
{
"keys": [
"tab"
],
"command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.jade, text.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string",
"operator": "equal",
"match_all": true,
"key": "selector"
},
{
"operand": "storage.type.templatetag.django",
"operator": "not_equal",
"match_all": true,
"key": "selector"
},
{
"match_all": true,
"key": "selection_empty"
},
{
"operator": "equal",
"operand": false,
"match_all": true,
"key": "has_next_field"
},
{
"operator": "equal",
"operand": false,
"match_all": true,
"key": "setting.disable_tab_abbreviations"
},
{
"operand": false,
"operator": "equal",
"match_all": true,
"key": "auto_complete_visible"
},
{
"match_all": true,
"key": "is_abbreviation"
}
]
},
{
"keys": [
"tab"
],
"command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.jade, text.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string",
"operator": "equal",
"match_all": true,
"key": "selector"
},
{
"operand": "storage.type.templatetag.django",
"operator": "not_equal",
"match_all": true,
"key": "selector"
},
{
"match_all": true,
"key": "selection_empty"
},
{
"operator": "equal",
"operand": false,
"match_all": true,
"key": "has_next_field"
},
{
"operator": "equal",
"operand": true,
"match_all": true,
"key": "auto_complete_visible"
},
{
"operator": "equal",
"operand": false,
"match_all": true,
"key": "setting.disable_tab_abbreviations_on_auto_complete"
},
{
"match_all": true,
"key": "is_abbreviation"
}
]
}
]
@davidrios i think @sergeche must do it, right, Sergey ?
@delch Yeah, I deleted my comment when I realized you were not the maintainer.
@sergeche I changed the scope for the Jade highlighter from source.jade
to text.jade
and it seems to be causing some issues with other packages. Could you take a look on that at Emmet?
help pls for windows guys, same issue
I'm closing this for lack of further feedback and because the problem is not with this package.
Problem is already solved in Emmet
@sergeche Thank you.
Now in jade don't work emmet
screenshot http://joxi.ru/E2pdlMRfnzLy2Y