Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3808

"Go to Symbol" and "Go to File" orders results incorrectly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.1
    • Fix Version/s: None
    • Component/s: ide - UI
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ebakke Eirik Bakke
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: