开发工具 SublimeCodeIntel 好用能提示 ruby,能否提示 rails 代码呢?

chenge · 2015年06月11日 · 最后由 chenge 回复于 2015年06月12日 · 3525 次阅读

sublime 的插件,今天发现这个,安装很简单,不需要配置什么。

能提示 ruby 的方法 文件内可以跳转到定义处

不知道能否提示 rails 的方法呢?

SublimeCodeIntel -> Settings - User "codeintel_selected_catalogs": ["Rails"]

#1 楼 @etnl 我怎么实验不对呢?我看代码里有写 rails 1.1,是不是版本不对?

不过添加下面几个倒是有效的, "HTML5", "HTML", "JavaScript"。

我也是看到你的问题才试了试。GitHub 有反应说比较慢;提示应该不全 😢

Troubleshooting

  • Check the ~/.codeintel/codeintel.log file to see if there are any errors in it or in the Sublime Text console.
  • Delete the directory with the CodeIntel database ~/.codeintel/db and restart Sublime Text.
  • Building process is no longer distributed with this repository. You need to get SublimeCodeIntel/CodeIntelSources to run build.sh. More information in SublimeCodeIntel/CodeIntelSources/src.
  • Open an Issue in GitHub

#3 楼 @etnl 试了下还是不行。搜了下,似乎也不大流行,信息不多。不过能提示 ruby 已经很不错了。 谢谢你的回复。 暂时放弃,如果不支持 4.2,意义也就不大了。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号