Simon
Simon

Reputation: 25993

How do I jump to a method in RubyMine?

In Visual Studio, the editor has a drop-down list of functions in the current class; clicking on one will take me to the top of that function. Is there a way to get a similar behaviour from RubyMine?

Upvotes: 6

Views: 2820

Answers (3)

Dmitry Ukolov
Dmitry Ukolov

Reputation: 668

Ctrl+0 key in editor will show all methods with search capacity. The same is drop-down menu Navigate -> File structure.

Upvotes: 0

Simon
Simon

Reputation: 25993

I suggested this as a feature request to the folks at JetBrains, and within the day they got back to me to tell me about the 'File Structure Popup' on ^F12 which does very nearly what I want; it's an extra keypress but I can live with it.

Upvotes: 7

x1a4
x1a4

Reputation: 19485

If you're working on a Rails project, change the project view to Rails (change the View as: dropdown value)

Online help is here.

It looks like this is as close as it gets to the functionality you're looking for.

Upvotes: 2

Related Questions