In my opinion, he meant that you needed to change the scope for expand_abbreviation_by_tab
. Please open Default (Windows/Linux/OSX).sublime-keymap
, search expand_abbreviation_by_tab
, add source.js
in operand list. It makes it take affect in JavaScript file.
"command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.js, source.css, source.sass, source.less, source.scss, source.stylus, text.xml, text.html - source, text.haml, text.scala.html, source string",
"operator": "equal",
"match_all": true,
"key": "selector"
},