Ctrl+space
我在按照 TernJS 描述(Sublime Text 3)使自动完成功能正常工作时遇到了问题。
自动完成功能似乎是有效的,因为如果我bbb
按照下面的类型将变量定义为字符串.t
,那么名称以 开头的字符串方法列表t
就会打开(如下所示.toLowerCase()
,它是通过自动完成生成的)。
但是,我无法通过按 打开完整的自动完成列表Ctrl+space
。这有什么原因吗,比如有限制?如何使用 TernJS 获取完整的对象方法列表?
控制台消息似乎表明插件运行正常:
reloading plugin SublimeLinter-jshint.linter
SublimeLinter: jshint linter loaded
reloading plugin TernJS.tern
reloading plugin View In Browser.ViewInBrowserCommand
reloading plugin JSHint.JSHint
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
plugins loaded
TernJS: No need to update PyV8
Syncing project /home/auser/learn/js/learn1/learn1.sublime-project
Starting TernJS server for /home/auser/learn/js/learn1/learn1.sublime-project with 4 libs and 1 files
Syncing project empty
Starting TernJS server for empty with 1 libs and 0 files
SublimeLinter: debug mode: off
SublimeLinter: jshint activated: /usr/local/bin/jshint
warning: mnemonic t not found in menu caption Tools
Package Control: Skipping automatic upgrade, last run at 2016-07-14