topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 7:08 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: PHP function sorting/reorder utility?  (Read 4923 times)

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
PHP function sorting/reorder utility?
« on: December 01, 2008, 11:18 AM »
When writing classes for PHP I find that it would be nice to re-order the functions.  I would like a tool that displays the functions in a class and allows me to move it up or down in the order.  Then the tool would apply the re-order.  Kinda of like the screenshot below.  Anyone know of such a tool?

ProcedureSortPHP.jpgPHP function sorting/reorder utility?


I like to have like functions grouped together but during development sometimes things get moved around.

crono

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 179
    • View Profile
    • Donate to Member
Re: PHP function sorting/reorder utility?
« Reply #1 on: December 05, 2008, 08:33 AM »
Oh - this is a really cool idea... I would like this too  :-*

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: PHP function sorting/reorder utility?
« Reply #2 on: December 05, 2008, 08:47 AM »
I looked at many IDE's but counldn't find one that had this kind of functionality.   I'm surprised there is anything out there.

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: PHP function sorting/reorder utility?
« Reply #3 on: December 05, 2008, 09:34 AM »
As a user of IDEs with the ability to jump to functions in a matter of a few keystrokes, I am curious why you want such functionality. Is it simply for readability purposes?

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: PHP function sorting/reorder utility?
« Reply #4 on: December 05, 2008, 09:44 AM »
1) I like things organized and want like functions together

2) I do all my PHP coding in a text editor (emEditor) so I do a lot of scrolling around looking for functions.

I have tried many, many time to get away from a text editor and I just can't.  I am very comfortable in a text editor for writing code - still do all my HTML, CSS and PHP in a text editor.