This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250670 - Usability and consistency of quicksearch, filtering and jump-to
Summary: Usability and consistency of quicksearch, filtering and jump-to
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Quick Search (show other bugs)
Version: 8.1
Hardware: PC Windows XP
: P2 normal with 2 votes (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on: 55841 236246 250961 146998
Blocks:
  Show dependency tree
 
Reported: 2015-02-24 18:49 UTC by NukemBy
Modified: 2015-03-12 11:28 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Convinient Lookup.png (123.32 KB, image/png)
2015-02-24 18:49 UTC, NukemBy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2015-02-24 18:49:14 UTC
Created attachment 152191 [details]
Convinient Lookup.png

I'm using Netbeans in parallel with other tools and in comparison with them I think NetBeans needs significant improvement in the very frequently used feature - lookups. 

1. Make behaviour of lookups consistent across different areas. Currently filtering in "Goto Type" and "Window->Navigator" behaves differently. I think it should be same/similar and like following:

1.1 Add visually distinct highlight of the matching text. Currently Navigator window (and similar - e.g. Hierarchy of sub-classes) does not have it at all. 

1.2 While filtering - remove items that does not match. Currently in the subtree of 200 items it is still really hard to find matching item because all of them are still displayed and 70% of them are off-screen.

2. Add 'simple' mode for lookups. Currently NB requires thorough insertion of '*', which really reduce speed of lookup (needs typing of that '*' char). For example if I'd like to find some "Sorted Map" I need to enter "*sort*map". This would be much quicker and easier with just "sortmap".

3. Set SLA on performance for lookups - result per each keypress should be available in not more than 100ms (on modern hardware :)) on rather huge project. Currently lookup delay on big MAVEN project (200 modules / 7000 files) is 0.5..1 seconds.

Details for 1 and 2 can be found in the attached screenshot.
Comment 1 markiewb 2015-03-03 16:57:34 UTC
(In reply to NukemBy from comment #0)
> 1.1 Add visually distinct highlight of the matching text. Currently
> Navigator window (and similar - e.g. Hierarchy of sub-classes) does not have
> it at all. 

https://netbeans.org/bugzilla/show_bug.cgi?id=236246

> 
> 1.2 While filtering - remove items that does not match. Currently in the
> subtree of 200 items it is still really hard to find matching item because
> all of them are still displayed and 70% of them are off-screen.

https://netbeans.org/bugzilla/show_bug.cgi?id=55841

> 
> 2. Add 'simple' mode for lookups. Currently NB requires thorough insertion
> of '*', which really reduce speed of lookup (needs typing of that '*' char).
> For example if I'd like to find some "Sorted Map" I need to enter
> "*sort*map". This would be much quicker and easier with just "sortmap".
> 

https://netbeans.org/bugzilla/show_bug.cgi?id=146998
Comment 2 markiewb 2015-03-03 16:59:19 UTC
FYI: Renamed from lookup to quicksearch, because lookup is a specific NB-API, which leads to confusion
Comment 3 Jaroslav Havlin 2015-03-06 09:52:09 UTC
> 3. Set SLA on performance for lookups - result per each keypress should be
> available in not more than 100ms (on modern hardware :)) on rather huge 
> project. Currently lookup delay on big MAVEN project (200 modules / 7000
> files) is 0.5..1 seconds.
Reporting separately as bug 250961.

> FYI: Renamed from lookup to quicksearch, because lookup is a specific NB-API, 
> which leads to confusion
Thank you very much for evaluation! I've set "depends on" field to connect referred issued with this one, making it an umbrella issue. 

Assigning back to ide/UI, as this is a question of general UI design.
Please feel free to reassign if you find a more proper component.
Thank you.