Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338540 - [content assist] JSDT doesn't support "module" pattern
Summary: [content assist] JSDT doesn't support "module" pattern
Status: RESOLVED WORKSFORME
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: All Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-01 09:56 EST by Sergey CLA
Modified: 2013-08-01 13:27 EDT (History)
1 user (show)

See Also:


Attachments
work in progress (5.35 KB, patch)
2011-05-05 00:52 EDT, Nitin Dahyabhai CLA
no flags Details | Diff
work in progress (5.50 KB, patch)
2011-05-05 01:30 EDT, Nitin Dahyabhai CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey CLA 2011-03-01 09:56:25 EST
Build Identifier: 

No outline and content assist for "module" pattern, used widely in modern web-development

Reproducible: Always

Steps to Reproduce:
Try the following code:

var module = (function () {
	return {
		getName: function () {
			return test;
		}
	};
})();

module. // call CA here

When calling content assist after "module.", JSDT doesn't display any proposals.
Comment 1 Nitin Dahyabhai CLA 2011-05-05 00:52:47 EDT
Created attachment 194787 [details]
work in progress
Comment 2 Nitin Dahyabhai CLA 2011-05-05 01:30:32 EDT
Created attachment 194789 [details]
work in progress
Comment 3 JP Grace CLA 2012-01-27 10:09:58 EST
Any movement on this?
Comment 4 Chris Jaun CLA 2013-08-01 13:27:23 EDT
This is working in WTP 3.5.1. 

module.getName() is available in content assist.

Checked against 7/18 build