Bug 347024 - [content assist] Code assist does not fully work and report "No Default Proposals"
Summary: [content assist] Code assist does not fully work and report "No Default Propo...
Status: RESOLVED WORKSFORME
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-05-24 13:23 EDT by Alex CLA
Modified: 2013-06-17 10:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.