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

Bug 316209

Summary: [content assist] Filtering down JavaScript content assist proposals does not work for qualified types in web pages
Product: [WebTools] JSDT Reporter: Chris Jaun <cmjaun>
Component: GeneralAssignee: Chris Jaun <cmjaun>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 Flags: thatnitind: review+
Version: 3.2   
Target Milestone: 3.2.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 323849    
Attachments:
Description Flags
patch none

Description Chris Jaun CLA 2010-06-08 16:54:48 EDT
1. Create a static web project.
2. Create a web page
3. Add a script tag in the web page
4. Create a type that is part of a namespace. Call it namespace.MyType.
4. Type var c = new My
5. Attempt content assist.

You should see namespace.MyType in the list.

Type 'T' to filter down the list.

namespace.MyType disappears.

This only happens in web pages and only with "qualified" types. I am able to filter down on something like "Date".
Comment 1 Chris Jaun CLA 2010-06-08 16:56:21 EDT
Created attachment 171471 [details]
patch
Comment 2 Chris Jaun CLA 2010-06-08 16:56:47 EDT
Patch uses the wrapped completion proposal type to do the filtering of the list.
Comment 3 Chris Jaun CLA 2010-06-22 15:33:07 EDT
Fix checked into 3.2.1
Comment 4 Chris Jaun CLA 2010-06-22 15:51:37 EDT
Fixed