Home Download Buy Blog Forum Support

Auto-Indent

Auto-Indent

Postby digitaldeath on Fri Jan 06, 2012 11:39 am

Hi guys,
I'm just wondering about the following:
Code: Select all
<?php get_header(); ?>
   <div id="content" class="clearfix">
      <div id="main" class="col620 left clearfix" role="main">


and if I insert code in the middle like so:
Code: Select all
<?php get_header(); ?>
   <div id="content" class="clearfix">
   <?php get_sidebar(); // sidebar 1 ?>
      <div id="main" class="col620 left clearfix" role="main">


How do I get Sublime to auto-indent or do I have to set a key-binding to Edit->Line->Reindent?
If so, why isn't there a key-binding for this by default eg. Ctrl+Alt+I?

Thanks in advance.
digitaldeath
 
Posts: 1
Joined: Fri Jan 06, 2012 11:34 am

Return to General Discussion

Who is online

Users browsing this forum: chendesheng, Google [Bot] and 11 guests