Bug 347024

Summary: [content assist] Code assist does not fully work and report "No Default Proposals"
Product: [WebTools] JSDT Reporter: Alex <alex_time>
Component: GeneralAssignee: Chris Jaun <cmjaun>
Status: RESOLVED WORKSFORME QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 Keywords: needinfo
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Alex CLA 2011-05-24 13:23:09 EDT
Build Identifier: 20110218-0911

Completion does work for variable name but not for methods.

Reproducible: Always

Steps to Reproduce:
1. write "doc" and press CTRL+SPACE shows up all the possible completion (OK)
2. write "document." and press CTRL+SPACE shows up "No Default Proposal" (NOT OK)
Comment 1 Nitin Dahyabhai CLA 2011-05-24 16:26:15 EDT
Works when I try it.  You're in a JavaScript file or web page in a JavaScript project that has the browser library in its include path and Window as the global supertype?
Comment 2 Alex CLA 2011-05-25 02:02:01 EDT
(In reply to comment #1)
> Works when I try it.  You're in a JavaScript file or web page in a JavaScript
> project that has the browser library in its include path and Window as the
> global supertype?

I tried on a simple JavaScript file (test.js) opened with the JavaScript Perspective inside a PHP project and also a simple html file as shown in the video demo tutorial (http://www.eclipse.org/atf/demos/jsdt/flashDemos.html)
Comment 3 Nitin Dahyabhai CLA 2011-06-06 11:18:20 EDT
(In reply to comment #2)
> I tried on a simple JavaScript file (test.js) opened with the JavaScript
> Perspective inside a PHP project and also a simple html file as shown in the
> video demo tutorial (http://www.eclipse.org/atf/demos/jsdt/flashDemos.html)

The perspective's not an issue, is it also a JavaScript project?  Do you see a JavaScript Resources node when you look at the project in the Project Explorer?  Is the ECMA Browser support shown within it?
Comment 4 Nitin Dahyabhai CLA 2011-06-06 11:19:57 EDT
And were there any errors/warnings shown for the file?
Comment 5 Chris Jaun CLA 2013-06-17 10:32:54 EDT
Works for me.