Sublime Text,On Object Dot Show Intellisense

iWa*_*ior 9 javascript intellisense autocomplete sublimetext

我刚安装了TernJS,我可以通过输入ctrl + space获得intellisense.但是,当我在JavaScript中的对象之后输入一个点时,我想获得intellisense,autocomplete,options.

没有运气,我试过以下

"auto_complete_selector":"来源,文字",

我试图在建议崇高文本2自动完成弹出不能正常工作没有运气

有什么建议?

Mat*_*DMo 13

首先,要充分利用自动完成功能,请安装Package Control,重新启动,然后安装SublimeCodeIntel并重新启动.在2012年的一些早期问题中提到的记忆问题已得到修复.但是,您需要等到SCI索引您的项目并包含,这可能需要一段时间.

接下来,转到Preferences -> Settings - User并添加以下内容(如果它是数组中的最后一个条目,则删除最后一个逗号):

"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_selector": "source, meta.tag", // you can make this "source - comment, meta.tag" if you don't want autocomplete in comments
"auto_complete_triggers": [
    {"selector": "text.html", "characters": "<"},
    {"selector": "source, text.html", "characters": "."}
],
Run Code Online (Sandbox Code Playgroud)

你应该全力以赴.

顺便说一下,"IntelliSense"是微软的商标,在其他情况下,它只称为自动完成或自动完成.