Coding ease question

Hey all,

Is there a way to change the indentation on an entire block of code? I keep having to insert if then statment into existant code and then have to manually change the indent on each line there after. Is there a faster way?



In the Windows IDE, you can simply highlight the code block in question and press the tab key. This will indent all the choosen lines by one tab stop. I’m not sure, but I think that things doesn’t work that way with the Mac IDE, though.

On the Mac you can choose “Shift Selection Left” and “Shift Selection Right” from the format menu, or use the keyboard shortcuts command-[ and command-].


The equivalent Windows keyboard shortcuts are alt-[ and alt-], incidentally.

Awesome tips, thanks very much!