Sublimetext3 on_query_completion 显示空行

Sublimetext3 on_query_completion show blank row

我只是想为 java 自动完成制作 sublime 插件。 当我在一些变量后输入点时,它会查找该变量的任何字段或方法。

当我使用 quick_panel 时效果很好。但是看起来比较大而且位置不能移动

当我使用 on_query_completions 以编程方式填充自动完成列表时,它只是显示这样的空白行:

这是代码:

class yooCommand(sublime_plugin.ViewEventListener ):
    def on_query_completions(self, prefix, locations):
        return (
            [
                ["me1","run()"],
                ["me2","some()"]
            ],
        sublime.INHIBIT_WORD_COMPLETIONS |  sublime.INHIBIT_EXPLICIT_COMPLETIONS
        )

我想这可能是因为我安装了一个包。 有没有人有过这样的经历?

我终于解决了这个问题

这是因为 Sublime 插件名为 hacklang typehacker and autocompletion
现在 sublime 变成了更好玩的地方: link to image