Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352499 - [content assist] Use index to find global functions
Summary: [content assist] Use index to find global functions
Status: RESOLVED WONTFIX
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 15:02 EDT by Ian Tewksbury CLA
Modified: 2011-08-30 14:37 EDT (History)
1 user (show)

See Also:


Attachments
Testing ZIP (4.30 KB, application/zip)
2011-07-19 15:03 EDT, Ian Tewksbury CLA
no flags Details
Fix Patch (278.99 KB, patch)
2011-07-19 15:04 EDT, Ian Tewksbury CLA
no flags Details | Diff
Fix Patch - Update 1 (278.99 KB, patch)
2011-07-19 15:51 EDT, Ian Tewksbury CLA
no flags Details | Diff

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