I successfully installed Emmet via Package Control.
ul
and press Tab, I get <ul></ul>
.ul.class
and press Tab, I get ul.body_class
but I want it to generate <ul class="class"></ul>
.What am I doing wrong?
I have read posts saying to try Ctl+E instead of Tab as the trigger key, but that doesn't do anything.
Try using Ctrl+Space instead. If that doesn't work, you can try changing the keybinding by putting the following in your User key bindings file which can be found by doing Preferences -> Key Bindings — User:
[
{"keys": ["tab"], "args": {"action": "expand_abbreviation"}, "command": "run_emmet_action", "context": [{"key": "emmet_action_enabled.expand_abbreviation"}]}
]
and then just change "tab"
to whatever keybinding you want. Check to see if that works.