7ute / symbols-list

An alternate symbol list sidebar for Atom.io text editor
GNU General Public License v3.0
32 stars 24 forks source link

Feature Request: alphabetical sorting, but grouped by class #35

Open Taeon opened 7 years ago

Taeon commented 7 years ago

First off -- great work on this, thanks.

It's bad coding practice I'm sure, but I sometimes deal with PHP files that contain multiple classes. In these cases, it'd be handy to be able to view properties/methods in alphabetical order, but grouped by class.

Class1

Class2

Or perhaps prefixed with class name, so as to be able to distinguish which property/method a class belongs to.

Class1::Method1 Class1::Method2 Class1::Method3 Class2::Method1 Class2::Property1 Class2::Property2 ...

Or maybe even have the class show up when you hover the mouse?

Anyway, something along these lines.

7ute commented 7 years ago

Hi,

Thank you for using this plugin :)

I think this indeed doesn't seem to be a good practice, as it goes against PSR-4 autoloader specifications, and messes with whatever versioning system you would use. But well, we already have an alphabetical sorting setting, we might add a grouping setting ( to keep the plugin light for those who don't use that feature ).

If you have any lead on the implementation of this feature, feel free to do a pull request :)

Taeon commented 7 years ago

Hi,

Thanks for the prompt reply!

I'd love to contribute, but I wouldn't know where to start getting set up to develop for atom, with CoffeeScript and so on. Maybe if I somehow manage to find some free time, one day...

Thanks again!