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: | Go to Declaration doesn't work for some methods from libraries | ||
---|---|---|---|
Product: | ruby | Reporter: | Erno Mononen <emononen> |
Component: | Editing | Assignee: | Erno Mononen <emononen> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Erno Mononen
2009-06-29 15:09:23 UTC
Seems to be caused by two things: - multiple includes of format 'include A,B,C' were not being indexed correctly, only the first arg was indexed. This is fixed now in 28a3476e150a. - after getting the index for a non-project file (e.g. for a file in a gem), QuerySupport is not able to find the index folder. This might be a bug either in the indexing infrastructure or in the ruby indexer, not sure yet. Fixed in 46851b54654c. The latter problem was caused by RubyPlatform#getSystemRoot(FileObject) returning the Gem home location for all the files under it, i.e. for every file from a gem. This was problematic since the gem home directory itself is not an indexed root; only the individual gem libs are. Just a note for sustaining when transplanting the fix, both of these changesets need to be transplanted: http://hg.netbeans.org/ruby-main/rev/28a3476e150a http://hg.netbeans.org/ruby-main/rev/46851b54654c Integrated into 'main-golden', will be available in build *200907030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/46851b54654c User: Erno Mononen <emononen@netbeans.org> Log: #167814: Go to Declaration doesn't work for some methods from libraries v. The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/a1790bceb200 |