Rapid PHP - array format

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

Rapid PHP - array format

Postby Dexblog » Sat Nov 26, 2016 11:33 am

I would like to have the posibility to format arrays and object different:

Now when i choose to format the PHP i get this:
Code: Select all
$my_post = array('post_title' => date("Y:m:d G:i:s") . " " . get_current_user_id(), 'post_content' => $sharetext, 'post_status' => 'publish', 'post_author' => get_current_user_id(), 'post_category' => $category, 'post_type' => 'shares');


I would like to have the posibility the formatter to make like this the arrays. This is great for debugging:
Code: Select all
$my_post = array (
      'post_title' => date ( "Y:m:d G:i:s" ) . " " . get_current_user_id (),
      'post_content' => $sharetext,
      'post_status' => 'publish',
      'post_author' => get_current_user_id (),
      'post_category' => $category,
      'post_type' => 'shares'
);
Dexblog
 
Posts: 4
Joined: Sat Nov 26, 2016 10:47 am

Re: Rapid PHP - array format

Postby Aivars » Sat Nov 26, 2016 12:20 pm

God idea, I'll add it to suggestions.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2453
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Rapid PHP - array format

Postby Dexblog » Sat Nov 26, 2016 10:21 pm

Thank you.

If i will have time will try to make a Plugin for this:).... but i am a little busy now
Dexblog
 
Posts: 4
Joined: Sat Nov 26, 2016 10:47 am


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 8 guests