ts-type-expand icon indicating copy to clipboard operation
ts-type-expand copied to clipboard

Enhancement: Add filtering option to treeview

Open TonyGravagno opened this issue 1 year ago • 0 comments

It would help if we could do a quick search for props within an object.

You can see this feature implemented in another similar project: TypeScript Explorer

One difference that I'd like to see is the ability to show Only the props that match a specific filter. In the example we see the existing tree is modified with styling. That's good for some purposes, but for others it helps to just see what we want at that moment.

Also note that when filtering for 'onclick' that implementation shows "on" and "click" as well as "onclick". While that could be helpful in rare circumstances I find that to be annoyingly too (non)intuitive. YMMV

You might be able to incorporate the FOSS from that project (with proper attribution of course) as a starting point for this enhancement, or even as-is as just the first version of this feature.

200933940-b735a2a3-cc9d-40de-a4a9-c10c080eead8

Thanks!

TonyGravagno avatar Aug 31 '23 20:08 TonyGravagno