Is there a way to indent a block of code like in Textmate (Indent Selection: Command + Alt + ) ? What this does it aligns everything nicely.
No built in functionality of making it happen?
What does this combination exactly do? You do not have to select the block and entire block is idented, yes?
Because if you have to select the block you can use just Tab and Shift+Tab, but I guess this wasn't what you meant.
It appears that this key combo "fixes" indentation; that is, it can convert something like:
if you just select all the text and hit that key combo.This would actually be pretty nice to have in ST2.
That would require a built-in parser for every language to know where the indents should be.
You could write your own in Python though.
I've started one for PHP
How does Textmate do this? Does it just indent every block within fold markers?