Sublimetext3 ReactJS JSX自动完成不再工作
我过去能够键入Sublimetext3 ReactJS JSX自动完成不再工作,sublimetext3,sublimetext,Sublimetext3,Sublimetext,我过去能够键入div,然后按tab键,升华将自动完成并输出。组件也是如此。我会键入MyComponent,然后按tab键,升华会自动完成。从今天起,这不再适用于我。你知道为什么吗 我试图找到一个解决办法,但没有成功。下面是我尝试过的一个键绑定,但它不起作用 { "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context":
div
,然后按tab键,升华将自动完成并输出
。组件也是如此。我会键入MyComponent
,然后按tab键,升华会自动完成
。从今天起,这不再适用于我。你知道为什么吗
我试图找到一个解决办法,但没有成功。下面是我尝试过的一个键绑定,但它不起作用
{ "keys": ["tab"], "command": "expand_abbreviation_by_tab", "context":
[
{ "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" },
{ "match_all": true, "key": "selection_empty" },
{ "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" },
{ "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" },
{ "match_all": true, "key": "is_abbreviation" }
]
}
原来Emmet软件包今天更新为Emmet2,上面的键绑定需要稍微调整。命令属性应该是
emmet_expand_缩写
,而不是expand_缩写_by_选项卡
,Emmet2现在在键入时显示一个弹出窗口,因此最后两行需要注释掉。
以下是对我有用的:
{ "keys": ["tab"], "command": "emmet_expand_abbreviation", "context":
[
{ "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" },
{ "match_all": true, "key": "selection_empty" },
{ "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" },
// { "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" },
// { "match_all": true, "key": "is_abbreviation" }
]
}
原来Emmet软件包今天更新为Emmet2,上面的键绑定需要稍微调整。命令属性应该是
emmet_expand_缩写
,而不是expand_缩写_by_选项卡
,Emmet2现在在键入时显示一个弹出窗口,因此最后两行需要注释掉。
以下是对我有用的:
{ "keys": ["tab"], "command": "emmet_expand_abbreviation", "context":
[
{ "operand": "source.js", "operator": "equal", "match_all": true, "key": "selector" },
{ "match_all": true, "key": "selection_empty" },
{ "operator": "equal", "operand": false, "match_all": true, "key": "has_next_field" },
// { "operand": false, "operator": "equal", "match_all": true, "key": "auto_complete_visible" },
// { "match_all": true, "key": "is_abbreviation" }
]
}
今天和上次有什么不同?某些东西必须已更改、已[取消]安装或以其他方式更改。事情的发生是有原因的。您是否安装或卸载了任何插件?更改任何配置文件?升级什么?今天和上次有什么不同?某些东西必须已更改、已[取消]安装或以其他方式更改。事情的发生是有原因的。您是否安装或卸载了任何插件?更改任何配置文件?升级什么?