You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "TheCookieLab (via GitHub)" <gi...@apache.org> on 2023/02/05 19:04:01 UTC

[GitHub] [netbeans] TheCookieLab opened a new issue, #5438: Go to File Search Prioritizes Alphabetical "Fuzzy" Match Over Exact Match in Results

TheCookieLab opened a new issue, #5438:
URL: https://github.com/apache/netbeans/issues/5438

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   When using the Go to File search the results appear to be sorted alphabetically which means the default selection is commonly not what the user is looking for.
   
   For example:
   In the below screenshot I search for "DirectionalMovementOfIndicatorTest" and in the results, the default selection is a "fuzzy" match despite the exact match was also found.  
   
   ![Search Annoyance](https://user-images.githubusercontent.com/6332181/216838893-75dd713c-db9a-4ac5-a7bf-d0477ff2c45f.PNG)
   
   It would be nice if there's an exact match it's placed first and selected by default. The fuzzy matches can then come after, sorted via the existing criteria.
   
   
   ### How to reproduce
   
   1. In a new or existing project create three new class files, all named similarly. For example:
   
   DirectionalMovementDownOfIndicatorTest.java
   DirectionalMovementOfIndicatorTest.java
   DirectionalMovementUpOfIndicatorTest.java
   
   2. Open the "Go to File" search (alt+shift+o on Windows)
   3. Search for a file which name is not the first in natural sorting order (i.e. DirectionalMovementOfIndicatorTest.java)
   4. Press ENTER as soon as the search results pop up cause you're in the zone
   5. Notice with chagrin that you are not where you expected to be. Level of confusion correlated with how similar the classes are.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] TheCookieLab closed issue #5438: Go to File Search Prioritizes Alphabetical "Fuzzy" Match Over Exact Match in Results

Posted by "TheCookieLab (via GitHub)" <gi...@apache.org>.
TheCookieLab closed issue #5438: Go to File Search Prioritizes Alphabetical "Fuzzy" Match Over Exact Match in Results
URL: https://github.com/apache/netbeans/issues/5438


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists