Switch between view and controller Phil Swenson 创建于 2007年10月24日 03:14 Is there a keyboard shortcut to switch between a controller method and its corresponding view (the eclipse ruby plugin and netbeans has this)? I don't see anything like this.
I think you can set the shortcut in "keymap".
I don't see anything like what I'm looking for...
if you have a controller method you should be able to do something like hit CTRL_SHIFT_V and switch the the corresponding view.
def login
end
CTRL-SHIFT-V would go to login.rhtml
The other Ruby IDEs have this feature...
This actions are in keymap:
Keymap->Plug-ins->Ruby->Switch to view (default shortcut: ctrlaltw)
Keymap->Plug-ins->Ruby->Switch to action (default shortcut: ctrlalta)