Answer the question
In order to leave comments, you need to log in
Why Emmet doesn't work correctly. #id.class.class?
Good afternoon.
sublime text 3 + emmet
Trying to create something like this
<nav id="header-nav" class="navbar navbar-default"></nav >
nav#header-nav.navbar.navbar-default
nav#header-nav.<navbar class="navbar-default"></navbar>
[tab]
insert_best_completion Default
insert_best_completion Default [{"operator": "equal", "operand": true, "key": "setting.tab_completion"}, {"match_all": true, "operand": ".*\\b[0-9]+$", "operator": "not_regex_match", "key": "preceding_text"}]
replace_completion_with_next_completion Default [{"operator": "equal", "operand": "insert_best_completion", "key": "last_command"}, {"operator": "equal", "operand": true, "key": "setting.tab_completion"}]
reindent Default [{"operator": "equal", "operand": true, "key": "setting.auto_indent"}, {"match_all": true, "operand": true, "operator": "equal", "key": "selection_empty"}, {"match_all": true, "operand": "^$", "operator": "regex_match", "key": "preceding_text"}, {"match_all": true, "operand": "^$", "operator": "regex_match", "key": "following_text"}]
indent Default [{"operator": "regex_contains", "operand": "\n", "key": "text"}]
next_field Default [{"operator": "equal", "operand": true, "key": "has_next_field"}]
commit_completion Default [{"key": "auto_complete_visible"}, {"key": "setting.auto_complete_commit_on_tab"}]
insert_dimensions AutoFileName [{"key": "setting.auto_complete_commit_on_tab"}, {"operator": "equal", "operand": true, "key": "auto_complete_visible"}, {"operator": "equal", "operand": true, "key": "afn_insert_dimensions"}]
bh_next_wrap_sel BracketHighlighter [{"match_all": true, "operand": true, "operator": "equal", "key": "bh_wrapping"}]
expand_abbreviation_by_tab Emmet [{"match_all": true, "operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.postcss, source.jade, text.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string", "operator": "equal", "key": "selector"}, {"match_all": true, "operand": "storage.type.templatetag.django", "operator": "not_equal", "key": "selector"}, {"match_all": true, "key": "selection_empty"}, {"match_all": true, "operand": false, "operator": "equal", "key": "has_next_field"}, {"match_all": true, "operand": false, "operator": "equal", "key": "setting.disable_tab_abbreviations"}, {"match_all": true, "operand": false, "operator": "equal", "key": "auto_complete_visible"}, {"match_all": true, "key": "is_abbreviation"}]
expand_abbreviation_by_tab Emmet [{"match_all": true, "operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.postcss, source.jade, text.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string", "operator": "equal", "key": "selector"}, {"match_all": true, "operand": "storage.type.templatetag.django", "operator": "not_equal", "key": "selector"}, {"match_all": true, "key": "selection_empty"}, {"match_all": true, "operand": false, "operator": "equal", "key": "has_next_field"}, {"match_all": true, "operand": true, "operator": "equal", "key": "auto_complete_visible"}, {"match_all": true, "operand": false, "operator": "equal", "key": "setting.disable_tab_abbreviations_on_auto_complete"}, {"match_all": true, "key": "is_abbreviation"}]
insert_best_completion User
insert_best_completion User [{"operator": "equal", "operand": true, "key": "setting.tab_completion"}, {"match_all": true, "operand": ".*\\b[0-9]+$", "operator": "not_regex_match", "key": "preceding_text"}]
replace_completion_with_next_completion User [{"operator": "equal", "operand": "insert_best_completion", "key": "last_command"}, {"operator": "equal", "operand": true, "key": "setting.tab_completion"}]
reindent User [{"operator": "equal", "operand": true, "key": "setting.auto_indent"}, {"match_all": true, "operand": true, "operator": "equal", "key": "selection_empty"}, {"match_all": true, "operand": "^$", "operator": "regex_match", "key": "preceding_text"}, {"match_all": true, "operand": "^$", "operator": "regex_match", "key": "following_text"}]
indent User [{"operator": "regex_contains", "operand": "\n", "key": "text"}]
next_field User [{"operator": "equal", "operand": true, "key": "has_next_field"}]
commit_completion User [{"key": "auto_complete_visible"}, {"key": "setting.auto_complete_commit_on_tab"}]
Answer the question
In order to leave comments, you need to log in
I solved the problem by completely removing all settings and packages.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question