This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Smart Navigation shortcut keys for Rails | ||
---|---|---|---|
Product: | ruby | Reporter: | gnufied <gnufied> |
Component: | Navigation | Assignee: | issues@ruby <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
gnufied
2007-06-02 00:52:44 UTC
I think the most natural way to support this in NetBeans would be to reuse the "goto declaration" feature - hold the ctrl key, and click on the files. This also has a keybinding - I think it's Meta-G for jump to the symbol under the caret. I'm doing something similar for "require" - if you're in a string associated with a require call I jump to the required file. In a Rails file, if I see a render call, jump to the associated view. Ditto for redirect etc. Can you say more about why Go To File does not fill the gap? And what is "Find in" mean - bring up a Find dialog, or is it similar to Go To File but limited in scope to the current project and subdir? Yes, you can use goto declaration to same purpose for following redirects and render partials. I think, it amounts to the same. Regarding, your GotoFile feature: 1. Its slow. 2. I am working on a really large rails project and most often it doesn't show file, which i know is there. Its a difficult to reproduce error and my experience varies with releases. And sorry for such a vague bug report. But I wish I had more details. In Emacs, "Find in xxxx" means, when i press above said key shortcut, Emacs asks me to type the name of the file fully/partially in message area. The only difference is unlike normal open/find file command of Emacs, this would look for the file just in said directory. Reassigning this issue to newly created 'ruby' component. |