RubyMine support for jQuery

泪湿孤枕 提交于 2019-12-12 17:56:39

问题


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 from RubyMine: how to?)


回答1:


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!



回答2:


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



来源:https://stackoverflow.com/questions/5237153/rubymine-support-for-jquery

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!