0

可以在自定义键(不是 Ctrl+Space)上调用自动完成功能吗?

4

1 回答 1

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 }
    ]
},
于 2013-10-17T19:19:14.990 回答