RubyMine支持jQuery

时间:2011-03-08 19:15:48

标签: jquery rubymine

我正在使用RubyMine 3.1开发Rails3应用程序,今天我从Prototype切换到jQuery以满足我的UJS需求。

使用this example自定义所有内容并重新启动RubyMine后,所有自动完成建议和代码检查器错误仍然基于Prototype。

我还应该做些什么来完成JavaScript代码的完成?公司为jQuery量身定制?

(与:Remove Prototype support from RubyMine: how to?相关)

2 个答案:

答案 0 :(得分:7)

本文enable jQuery code completion in RubyMine介绍了这些步骤:

  1. 转到设置,然后转到 JavaScript库并添加新库;
  2. 使用范围中,为当前项目启用库;
  3. 完成!

答案 1 :(得分:1)

请观看/投票选择issue in the bug tracker