CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Fri Mar 29, 2024 10:39 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Indent options
PostPosted: Wed Apr 01, 2009 8:56 pm 
Offline

Joined: Wed Apr 01, 2009 8:51 pm
Posts: 2
Hi, I'm just testing codelobster for drupal development.
Is there a way to change the formatting standards?

I think there needs to be an indent on the line after a : as used with switch.

Code:
    case 'save':
      block_box_save(, );
      break;

    case 'view':
       = db_fetch_object(db_query('SELECT body, format FROM {boxes} WHERE bid = %d', ));
      ['content'] = check_markup(->body, ->format, FALSE);
      return ;


Also, lines after array( should be indented.
Code:
  ['admin/build/block'] = array(
    'title' => 'Blocks',
    'description' => 'Configure what block .....',
    'page callback' => 'block_admin_display',
    'access arguments' => array('administer blocks'),
    'file' => 'block.admin.inc',
  );


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 02, 2009 6:08 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

Big thanks.
We will check it.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: thanks
PostPosted: Thu Apr 02, 2009 11:51 am 
Offline

Joined: Wed Apr 01, 2009 8:51 pm
Posts: 2
Please report back here. I would love to use codelobster, but I don't want to have to correct the formating by hand.

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 64 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group