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

Bug 506576

Summary: [outliners] Filtering in the outline view only filters on 'label' and not 'labelPost'
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED FIXED QA Contact: Michael Rennie <Michael_Rennie>
Severity: normal    
Priority: P3    
Version: 13.0   
Target Milestone: 13.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2016-10-26 11:36:57 EDT
While fixing bug 506360, we found that the outline filter does not work on the labelPost property of outline elements.

For example, given the following snippet:

//some comment
let x = {one:{two:{}}};

if you try to filter on 'one' nothing is shown in the view. Thats because the value of 'one' in the AST outline is the labelPost property of the Property nodes' init.
Comment 1 Michael Rennie CLA 2016-10-26 12:07:18 EDT
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=f1c1f48742d388f70c8d3f4596365a174e2cbdfb

If filterPost is present on a node it is also used now.