可以在自定义键(不是Ctrl + Space)上调用自动完成吗?
答案 0 :(得分:0)
是的,请阅读文档中的键绑定: http://docs.sublimetext.info/en/latest/customization/key_bindings.html
您需要将这些复制到用户键绑定并更改它们:
{ "keys": ["ctrl+space"], "command": "auto_complete" },
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
[
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.tab_completion", "operator": "equal", "operand": true }
]
},