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 270320 - Go To File doesn't work as expected.
Summary: Go To File doesn't work as expected.
Status: CLOSED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: Dev
Hardware: PC Other
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-07 08:18 UTC by Christian Lenz
Modified: 2019-02-21 17:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
WebStorm fuzzy search (205.58 KB, image/png)
2017-04-07 08:18 UTC, Christian Lenz
Details
NetBeans wrong selection (205.58 KB, image/png)
2017-04-07 08:18 UTC, Christian Lenz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2017-04-07 08:18:11 UTC
Created attachment 164039 [details]
WebStorm fuzzy search

There are a lot of tickets of this topic and this need really attention, because this is the most important feature in such IDE. Go To File, Symbol, Class, whatever. First I have a real world case. I will search for "sharjs" and I expect that shopArea.js will be found, as you can see it inside the WebStorm screenshot. But no, NetBeans will not find anything.

Next this is I search for shoparea or shopArea and in the second screenshot, you see first that shopAreaShared.js was selected but shopArea.js is the first entry which is correct and which should be selected. Because it is exact that what I was searching for. When I use shopAreaS then shopAreaShared.js should be found and selected. Go To whatever is the essential feature of an IDE and should be improved as good as possible. So thats because I changed it to enhancement, because it works as designed, but it doesn't work as expected. I know that this is not so easy because of the multi projects in NetBeans but first you add more and more results to the search result window so it could be the same.


Regards

Chris


Here are some linked tickets:

https://netbeans.org/bugzilla/show_bug.cgi?id=253448
https://netbeans.org/bugzilla/show_bug.cgi?id=253389
https://netbeans.org/bugzilla/show_bug.cgi?id=146998
Comment 1 Christian Lenz 2017-04-07 08:18:55 UTC
Created attachment 164040 [details]
NetBeans wrong selection
Comment 2 Christian Lenz 2017-04-07 08:25:11 UTC
If we have a lot of results and I expect that than the best matching result e.g. "al" is on top of the list. So if this is a false positive and not that what I was looking for, then I have to refine my keyword for the search.

If I search for "al" and I found hundreds of results, maybe a lot of angular files and angular-locale or whatever with "al", then I will search for "angjs" or "angularjs" and I expect that it will find first angular.js and after it everything else like angular-locale.js which is not relevant for me atm.
Comment 3 Christian Lenz 2019-02-21 17:16:41 UTC
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-2156. Please discuss it there for further information.