Question

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.

enter image description here

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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top