开发者

RubyMine support for jQuery

开发者 https://www.devze.com 2023-02-16 02:06 出处:网络
I\'m using RubyMine 3.1 to develop a Rails3 app and today I switched from Prototype to jQuery for my UJS needs.

I'm using RubyMine 3.1 to develop a Rails3 app and today I switched from Prototype to jQuery for my UJS needs.

After customizing everything using this example and restarting RubyMine, all the auto-complete suggestions and the code inspector errors are still being based on Prototype.

What else should I do to get the JavaScript code completion & Co. tailored to jQuery?

(related to: Remove Prototype support 开发者_Python百科from RubyMine: how to?)


This article to enable jQuery code completion in RubyMine describes these steps:

  1. go to Settings, then JavaScript Libraries and add a new library;
  2. in Usage Scope, enable the library for the current project;
  3. done!


Please watch/vote for the issue in the bug tracker.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号