RubyMine support for jQuery
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:
- go to Settings, then JavaScript Libraries and add a new library;
- in Usage Scope, enable the library for the current project;
- done!
Please watch/vote for the issue in the bug tracker.
精彩评论