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

2

6

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?

Barnaul answered 12/2, 2014 at 20:59 Comment(3)
I can confirm you the behaviour, I still don't know why it doesn't work though.Telstar
@Telstar by confirm do you mean that you are experiencing the same as me or that you are getting the proper working behavior?Barnaul
Experiencing the same.Telstar
B
0

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

Barnaul answered 11/4, 2014 at 14:18 Comment(0)
C
0

You can also just restart the IDE.

Congou answered 14/12, 2022 at 19:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.