E.g. for render_partial in Rails actionpack/lib/action_view/partials.rb. Reported on the user list, see http://
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:
Integrated into 'main-golden', will be available in build *200907030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Erno Mononen <email@example.com>
Log: #167814: Go to Declaration doesn't work for some methods from libraries
The fix has been ported into the release67_fixes repository.