Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Taeon opened this issue Dec 12, 2016 · 2 comments
Open

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

Taeon opened this issue Dec 12, 2016 · 2 comments

Comments

@Taeon
Copy link

Taeon commented Dec 12, 2016

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.

@7ute
Copy link
Owner

7ute commented Dec 12, 2016

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
Copy link
Author

Taeon commented Dec 13, 2016

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants