Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338540

Summary: [content assist] JSDT doesn't support "module" pattern
Product: [WebTools] JSDT Reporter: Sergey <serge.che>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: RESOLVED WORKSFORME QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3 CC: jp
Version: unspecified   
Target Milestone: Future   
Hardware: All   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
work in progress
none
work in progress none

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