Rubymine 6 update/refresh available methods and paths in a rails project?

烂漫一生 提交于 2019-12-10 16:44:12

问题


Here's an example. Say I update routes with resources :foo and that buys me some new paths like: new_foo_session When I begin to type the path in an ERB view I expect it to show me/ suggest with auto complete the names matching the path. So as I type: new_foo_ I would get all the routes that match.

Also after installing a gem say devise which has helpers like current_user I would like RubyMine to suggest current_user as I begin to type it, however I am not getting that.

How do I update the list of available helpers, methods, paths, etc in RubyMine 6 within my rails project to reflect in suggest/complete?


回答1:


Spoke to rubymine support. This feature is not available for gems.



来源:https://stackoverflow.com/questions/21739483/rubymine-6-update-refresh-available-methods-and-paths-in-a-rails-project

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