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

Bug 352499

Summary: [content assist] Use index to find global functions
Product: [WebTools] JSDT Reporter: Ian Tewksbury <itewksbu>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: RESOLVED WONTFIX QA Contact: Nitin Dahyabhai <thatnitind>
Severity: enhancement    
Priority: P3 CC: cmjaun
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Testing ZIP
none
Fix Patch
none
Fix Patch - Update 1 none

Description Ian Tewksbury CLA 2011-07-19 15:02:58 EDT
Need this in head as well.

+++ This bug was initially created as a clone of Bug #352160 +++

Currently the index is only used to find the location of global functions but then those functions and the fiels they are in still have to be parsed, inferred, and bound.  All the information to create a content assist suggestion should be stored in the index so that these functions do not need to be parsed, inferred, and bound every time content assist is invoked.
Comment 1 Ian Tewksbury CLA 2011-07-19 15:03:18 EDT
Created attachment 199938 [details]
Testing ZIP
Comment 2 Ian Tewksbury CLA 2011-07-19 15:04:57 EDT
Created attachment 199939 [details]
Fix Patch

Same as patch for bug 352160 except merged for head.
Comment 3 Ian Tewksbury CLA 2011-07-19 15:51:50 EDT
Created attachment 199944 [details]
Fix Patch - Update 1

Same as last patch except small fix in Methodpattern#matchesDecodedKey.  One of
the lines was comparing the return qualificaiton to the return simple name
rather then to the return qualification of the pattern to try and match.
Comment 4 Nitin Dahyabhai CLA 2011-08-30 14:37:47 EDT
Closing out since this was not successful.