CodeLobster IDE
http://codelobster.com/forum/

Indent options
http://codelobster.com/forum/viewtopic.php?f=3&t=1081
Page 1 of 1

Author:  awolfey [ Wed Apr 01, 2009 8:56 pm ]
Post subject:  Indent options

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

Author:  Admin [ Thu Apr 02, 2009 6:08 am ]
Post subject: 

Hi.

Big thanks.
We will check it.

Regards,
Codelobster Team.

Author:  awolfey [ Thu Apr 02, 2009 11:51 am ]
Post subject:  thanks

Please report back here. I would love to use codelobster, but I don't want to have to correct the formating by hand.

Thanks.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/