netbeansPython icon indicating copy to clipboard operation
netbeansPython copied to clipboard

Navigator pane could be in alphabetical order of classes

Open systemsolve opened this issue 1 year ago • 2 comments

It would be nice, even if an option, for all top-level entities (classes, module-level functions etc) to be shown in alphabetical order in the Navigator pane. This is how the old "nbpython" plugin worked and I found it more useful like that than simply following the declaration order in the file.

This Python plugin is better all round (esp Python 3 support) but the Navigator issue is a bit of a nuisance.

systemsolve avatar Mar 18 '24 04:03 systemsolve

Thanks for reporting this issue, we will take a look on ASAP

github-actions[bot] avatar Mar 18 '24 04:03 github-actions[bot]

org.netbeans.modules.java.navigation.actions.SortActions.java org.netbeans.modules.csl.navigation.actions.SortActionSupport.java

Issue: Seems no API to possibly add to the LSP symbol Navigator provider Possible solution: Use Lookup to get the NavigatorPanel, get the outline component from it and inject new sort action

albilu avatar Sep 24 '24 08:09 albilu