You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 :)
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...
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.
The text was updated successfully, but these errors were encountered: