Project
Ruby
Priority
Normal
Type
Usability Problem
Fix versions
RubyMine 1.0 RC (build 873)
State
Fixed
Assignee
Unassigned
Subsystem
IDE
Affected versions
No Affected versions
Fixed in build
108.101  
  • Created by   Kevin Menard
    2 years ago (21 Feb 2009 03:24)
  • Updated by   Kevin Menard
    2 years ago (28 Apr 2009 14:45)
  • Jira: RUBY-3008
    (history, comments)
 
RUBY-3008 "Go To" does not weight properly.
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
We had to freeze Rails in our Rails app. As a result, we have a lot more classes in our app that most others probably do. The "Go To" search algorithm does not weight our app appropriately. When searching for a class or a file, I constantly have to wade through files from either the frozen Rails version or from any of the 20+ plugins we use. In almost every case, I want to go to a class in my app, then one in a plugin, then a core Rails class, in that order.

Issue was closed
Comments (3)
 
History
 
Linked Issues (?)
 
Kevin Menard
  Kevin Menard
28 Mar 2009 00:13
2 years ago
Here's an example of what I mean. My Rails app has precisely one ApplicationController. I can't tell from that list which I should use. I can't even pick "application.rb" because there's four listed with no additional path information.
Dmitry Jemerov
  Dmitry Jemerov
24 Apr 2009 18:33
2 years ago
"Goto Class" now shows files under vendor/ only when the option "Show non-project classes" is checked. After 1.0 this behavior will also be extended to "Goto File".
Kevin Menard
  Kevin Menard
25 Apr 2009 00:53
2 years ago
Thanks. This is much better.

It'd be nice if weighting occurred within the project as well.

E.g., Goto Class "User" yields a bunch of hits inside database migrations before it yields the hit on the model. So, maybe if there is a partial match in the filename or if you weight models & controllers heavier than tests or migration, that could help as well.