Bug 242989 - Code assist for fully qualified classses is not consistent
Summary: Code assist for fully qualified classses is not consistent
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0.2   Edit
Assignee: Phil Berkland CLA
QA Contact: Phil Berkland CLA
URL:
Whiteboard: JSDT302
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-08-03 09:22 EDT by Michael Spector CLA
Modified: 2010-03-03 11:18 EST (History)
0 users

See Also:


Attachments
patch (1.50 KB, patch)
2008-08-03 09:31 EDT, Michael Spector CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Spector CLA 2008-08-03 09:22:14 EDT
1. Define in test1.js:

A1.D2.prototype = new Object();

2. Define in test2.js:

A2.D1.prototype = new Object();

3. Try to complete in test2.js:

A|

You see only proposal from file test2.js (A2 is considered as a part of a class name, not the package name)

Try to complete in test2.js:

D|

You see only proposal from test1.js.
Comment 1 Michael Spector CLA 2008-08-03 09:31:00 EDT
Created attachment 109015 [details]
patch

This patch makes code assist of locally and externally declared classes consistent: by simple class name.
Comment 2 Phil Berkland CLA 2008-08-22 10:31:43 EDT
Applied the patch.