Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325112 - Content assist does not propose a global function named like a java static method
Summary: Content assist does not propose a global function named like a java static me...
Status: CLOSED DUPLICATE of bug 324874
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2.3   Edit
Assignee: Project Inbox CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 09:35 EDT by Jim Zhang CLA
Modified: 2010-09-13 13:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Zhang CLA 2010-09-13 09:35:36 EDT
Build Identifier: WTP 3.2

When i have a global function like this:

com.mycompany.app.Controller.showTransactions = function() { ... };

and I want to use content assist to get to the function, I type "show" then invoke the content assist.  I would expect the function to be proposed but it wasn't.

On the other hand, I get content assist on the "IType" portion.  if I type "Cont" and invoke content assist, I get the proposal for "com.mycompany.app.Controller".  then invoke content assist again off of the "IType", I finally get the proposal for the method. This is great but it's the "java way". I'd like to see the "javascript way" to work as well.

Reproducible: Always
Comment 1 Chris Jaun CLA 2010-09-13 10:17:09 EDT
There is not enough information for me to reproduce this.

Can you provide a complete source that includes the definition of the objects/types in question.
Comment 2 Chris Jaun CLA 2010-09-13 13:42:53 EDT

*** This bug has been marked as a duplicate of bug 324874 ***