Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 479813 - [refs] Weirdness in computing 'same types' for node requires
Summary: [refs] Weirdness in computing 'same types' for node requires
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: JS Tools (show other bugs)
Version: 10.0   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 471947
  Show dependency tree
 
Reported: 2015-10-15 01:17 EDT by Michael Rennie CLA
Modified: 2015-10-27 17:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2015-10-15 01:17:17 EDT
Steps:

1. create two (or more) nodejs files that all have a snippet like "var fs = require('fs');" in them in the same project
2. run References > Project on one of them
3. notice that the 'exact matches' group will only have the entry from the file you are in, and the others will be in the 'possible matches' group

This is not correct, as 'fs' is the same type in all of the cases: they all have the same origin (node) and the same name. They should all appear in the 'exact matches' group
Comment 1 Steve Northover CLA 2015-10-27 15:57:17 EDT
You've been fixing a ton of bugs lately.  Did this one get fixed?
Comment 2 Michael Rennie CLA 2015-10-27 17:01:21 EDT
Yes, it seems to be working now.

Closing as fixed.