MrPizzaFace
MrPizzaFace

Reputation: 8086

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

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?

Upvotes: 6

Views: 590

Answers (2)

Vinccool96
Vinccool96

Reputation: 268

You can also just restart the IDE.

Upvotes: 0

MrPizzaFace
MrPizzaFace

Reputation: 8086

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

Upvotes: 0

Related Questions