[ 
https://issues.apache.org/jira/browse/NETBEANS-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18020578#comment-18020578
 ] 

Michael Bien commented on NETBEANS-3808:
----------------------------------------

> In many practical cases, the right class ends up being way down the list. 
> This greatly diminishes the value of the Go to Symbol/File functionality.

i suspect that "prefer opened projects" is checked which is the default. This 
will show some hits lower if they: are not opened or not even in a project.

see https://github.com/apache/netbeans/issues/4311#issuecomment-3294681821

> "Go to Symbol" and "Go to File" orders results incorrectly
> ----------------------------------------------------------
>
>                 Key: NETBEANS-3808
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3808
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: ide - UI
>    Affects Versions: 11.1
>            Reporter: Eirik Bakke
>            Priority: Major
>
> If a project contains two Java classes "TestClass" and "TestAnotherClass", 
> and the user types in "TestClass" into either the "Go to Symbol" or "Go to 
> File" dialog, then "TestAnotherClass" ends up being listed before 
> "TestClass", and ends up being the default selection. In this case the 
> correct, the default result should obviously be "TestClass". Some tweaking of 
> the ordering logic is needed to achieve this.
> In many practical cases, the right class ends up being way down the list. 
> This greatly diminishes the value of the Go to Symbol/File functionality.
> I believe this used to work correctly in older (pre-Apache?) NetBeans 
> versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to