考虑将用户设置更改为以下内容。
{
// By default, auto complete will commit the current completion on enter.
// This setting can be used to make it complete on tab instead.
// Completing on tab is generally a superior option, as it removes
// ambiguity between committing the completion and inserting a newline.
"auto_complete_commit_on_tab": true,
// Controls if auto complete is shown when snippet fields are active.
// Only relevant if auto_complete_commit_on_tab is true.
"auto_complete_with_fields": true,
// As Richard Jordan suggested, this item
// controls what scopes auto complete will be triggered in
"auto_complete_selector": "source, text"
}
按Cmd的 + , Mac或按Ctrl + ,在Windows
打开用户设置如果你想完全掌握崇高Text 2,我推荐这门课程:Perfect Workflow in Sublime Text。它在我第一次发布这个答案的时候是免费的。反正我仍然推荐它。
来吧?它在您的机器上如何?当你像上面的电影一样输入(实时)(对于JavaScript或jQuery代码)时,你是否有自动完成功能? - born2fr4g刚刚编辑 – born2fr4g
我有同样的问题。我没有实时看到自动完成弹出窗口。 'tab'或者自动完成我的文本(我猜只有一个匹配项)或者显示弹出窗口,我希望实时看到它! – user2503795
看到下面的答案 - 你可以手动得到它或设置它自动做到这一点,当你键入 –