Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314881 - [project explorer] Type declared across files should be shown under JS Resources node once
Summary: [project explorer] Type declared across files should be shown under JS Resour...
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
: 323146 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-28 10:22 EDT by Chris Jaun CLA
Modified: 2013-06-19 11:09 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 Chris Jaun CLA 2010-05-28 10:22:09 EDT
File 1:

function MyClass() {
this.myVar = 1;
}

File 2:

MyClass.prototype.myFun = function() {};

Expand the JavaScript Resources node.
Expand the child source folder under that node.

You see MyClass twice. One has myVar and one had myFun as a child node.

This should be a single node or I should have the option to change the view.
Comment 1 Nitin Dahyabhai CLA 2011-06-30 17:25:38 EDT
*** Bug 323146 has been marked as a duplicate of this bug. ***