yanis_kondakov
@yanis_kondakov

Почему Emmet работает некорректно. #id.class.class?

Добрый день.

sublime text 3 + emmet

Пытаюсь создать такое

<nav id="header-nav" class="navbar navbar-default"></nav >


Прописываю

nav#header-nav.navbar.navbar-default

Получаю

nav#header-nav.<navbar class="navbar-default"></navbar>


Пытался понять через FindKeyConflicts

На "tab" установлено следующее:

spoiler
[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"}]
  • Вопрос задан
  • 185 просмотров
Решения вопроса 1
yanis_kondakov
@yanis_kondakov Автор вопроса
Решил проблему полным удалением всех настроек и пакетов.
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы