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.

Bug 125062 - Improve "Go to definition" for rails
Summary: Improve "Go to definition" for rails
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-10 21:18 UTC by fabian_e
Modified: 2011-01-28 20:11 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fabian_e 2008-01-10 21:18:56 UTC
- Jump to models: At the moment it's possible to jump to the definition of an activerecord class, but only if it's
written uppercase. But it's much more interesting to jump to the model definitions from usages like belongs_to or
has_many. In these cases the model definition is lowercase and sometimes pluralized so the "go-to-definition" doesn't
work. The idea would be to either expand the "go-to-definition" to catch the lower case and pluralized usages as well or
to have a new feature "go-to-model" which takes the current object and tries to find the fitting model (by stripping the
s or uppercasing...). The rails.vim extension has a similar feature which allows you to use gf to jump through the
project (but VIM is not an IDE).
Comment 1 Petr Jiricka 2008-01-11 08:34:11 UTC
Sounds like an enhancement request to me, not a defect.