CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, Fhalcon, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Tue Oct 27, 2020 8:04 pm

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($edit, $delta);
      break;

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


Also, lines after array( should be indented.
Code:
  $items['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: 3589
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: Google [Bot] and 22 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