FuzzyFinder_textmate like feature in RubyMine?

Hi guys,

Been using RubyMine for a bit now and overall it's a cool product. I have one thing that I use in my vim setup a lot that I miss.
There may be something similar around so I thought I'd start this discussion to see if there's tricks I don't know about, or
suggest it as a new feature.

The feature I'm looking for is something similar to the vim add-on called fuzzyfinder_textmate described here: http://weblog.jamisbuck.org/2008/10/10/coming-home-to-vim
The code is available at github: http://github.com/jamis/fuzzyfinder_textmate (one needs a version of fuzzyfinder.vim from late 2008, newer versions are not compatible).

What it provides is the ability to press a keyboard shortcut and start typing fragments of a file name. It will filter possible matches and rank them in a smart way.

So say I have a partial named "sidebar" for a controller called "Worklog". I'd hit my keyboard shortcut and type "wor sid" and it would most likely be the best match and I
could hit enter to navigate to the file. It also understands directory structure and "/" intelligently so stuff like "a/v/foo" matches app/views/myfoobar

Is there something similar around? It's a real productivity booster so I'd be very keen on getting something like it incorporated into rubymine.

4 comments
Comment actions Permalink

Hello Patrik,

Is there something similar around? It's a real productivity booster so I'd be very keen on getting something like it incorporated into rubymine.

Have you tried Goto actions? All of them can be found in Go To main menu item.

Regards,
Oleg

0
Comment actions Permalink

Yes. It's a good one since it understands some of the semantics. I see it as a complement to the sort of feature I'm looking for. Guess I'm looking for a really quick way to open any file without a lot of typing or clicking.

A decent chunk of the fuzzyfinder_textmate feature is written in ruby. I remember seeing the possibility to write ruby plugins for rubymine - when I get some time over I may have a look at that and see if I can port it.

0
Comment actions Permalink

sorry - I had missed the GoTo File.. feature. That seems like what I'm looking for - awesome!!!

0
Comment actions Permalink

Been playing around with it for a bit.

I quite like it. However, they would be even cooler if they could have a "fuzzy" mode where you didn't need to match from start to end of name. I.e. you could start typing wor con to get "WorklogController". I'd like to add that as a feature suggestion, looks like it should be pretty easy given that it's just about implementing a better/different matching algorithm to existing function.

Thanks.

0

Please sign in to leave a comment.