spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.32k stars 1.61k forks source link

Easy access to filter functionality for the outline pane #20990

Open BahaaEiz opened 1 year ago

BahaaEiz commented 1 year ago

Adding sorting and text-based filter for the outline pane of spyder will be very useful.

Suppose you are dealing with a single class that has tens or hundreds of methods, them searching for methods by matching Name and sorting them alphabetically will be very handy.

dalthviz commented 1 year ago

Hi @BahaaEiz sorry for the late response and thank you for your feedback! Maybe the Symbol finder functionality could be useful for you? You can access it from the File menu (File > Symbol finder) or via the shortcut Ctrl + Alt+ P:

symbol_finder

Let us know if that help/covers the feature that you had in mind!

ccordoba12 commented 1 year ago

@dalthviz, I think we should add a search icon to the Outline main toolbar so that users can easily find this functionality.

BahaaEiz commented 1 year ago

Hi Daniel

Thank you very much for your reply. Definitely the symbol finder is a helpful tool. But I think for code restructuring purposes, it will be helpful to have the ability of sorting the methods and variables in the outline panel (which seem to me a tree QT structure) as it allow seeing the names constantly while carrying out the necessary code modification (not only to search for names). The outline panel is a great panel that makes the spyder environment more user friendly and competitive compared even to common editors like VS code (which has also a feature like the symbol finder).

I think enhancing outline panel with feature (sorting or maybe even adding notes, flags or “to do” mark and filter them) to keep track of code production will make spyder more powerful and friendly.

On Wed, Jun 14, 2023 at 5:00 PM Daniel Althviz Moré < @.***> wrote:

Hi @BahaaEiz https://github.com/BahaaEiz sorry for the late response and thank you for your feedback! Maybe the Symbol finder functionality could be useful for you? You can access it from the File menu (File > Symbol finder) or via the shortcut Ctrl + Alt+ P:

[image: symbol_finder] https://user-images.githubusercontent.com/16781833/245958250-0e743566-87e2-4a02-8a3f-8b3f7ecf5ec3.gif

Let us know if that help/covers the feature that you had in mind!

— Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/20990#issuecomment-1592140692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYLQWMKGKCYF2JNNX2MYUDXLJGBBANCNFSM6AAAAAAYYZ4J3U . You are receiving this because you were mentioned.Message ID: @.***>