symbols-list icon indicating copy to clipboard operation
symbols-list copied to clipboard

Feature Request: alphabetical sorting, but grouped by class

Open Taeon opened this issue 8 years ago • 2 comments

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

  • Method1
  • Method2
  • Method3

Class2

  • Method1
  • Property1
  • Property2 ...

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.

Taeon avatar Dec 12 '16 11:12 Taeon

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 :)

7ute avatar Dec 12 '16 11:12 7ute

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!

Taeon avatar Dec 13 '16 09:12 Taeon