我想添加
.addEventListener
但它在 Sublime text 3 中不起作用
我尝试安装 JavaScript Completions,但它提出了很多建议,我对它有滞后,它还自动完成了很多我不需要的属性 我试着设置设置
"emmet.includeLanguages": {
"javascript":"javascriptreact"
}
和
{
"keys": ["tab"],
"command": "emmet_expand_abbreviation",
"args": { "tab": true },
"context": [
{ "key": "emmet_abbreviation" },
{ "key": "emmet_tab_expand" },
{ "key": "num_selections", "operand": 1 }
]
},
This question is not a duplication of Sublime Text 3 Emmet triggering conflict? or sublime text 3 and emmet not completing because I am asking here about it not working in
.js
file only (I haven't problems with .html
或 .css
文件)
ctrl+shift+p
- 安装包ctrl+shift+p
- 安装包注意:需要node.js(注意需要win8.1+)