Sublime Forum

Auto-Indent

#1

Hi guys,
I’m just wondering about the following:

<?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:

<?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.

0 Likes