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 193617 - "Go to declaration" doesn't use the current runtime of the project
Summary: "Go to declaration" doesn't use the current runtime of the project
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 01:43 UTC by viphe
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viphe 2010-12-20 01:43:49 UTC
Product Version: NetBeans IDE 6.9.1 (Build 201011082200)
Java: 1.6.0_22; Java HotSpot(TM) Client VM 17.1-b03
System: Windows 7 version 6.1 running on x86; Cp1252; fr_FR (nb)

Test case:

- Have at least two Ruby runtimes configured in Netbeans
- Write some Ruby like the following:

  require 'csv'

  CSV.foreach(path, rs) { |i|  }

- Use "go to declaration" on "CSV"
- Note the location of the opened file and close it.
- Change the runtime in the project properties
- Use "go to declaration" on "CSV"
- This should open a declaration file in the same location as the first time (when it should have changed).

I don't know whether the function only uses the first configured runtime or bypasses the project properties altogether.