You can highlight the code and use the code format button to shift all code back. It will basically tab the code back. Works great most of the time, unless the tab levels are way off. Try editing my answer. If you highlight the *code* below and click the code format tool once it will shift to the proper place. Click it a second time and it will shift flush left. //Some Code if (myTab >= TooMuch) { shiftLeft(); } Test 2: //Some Code if (myTab >= TooMuch) { shiftLeft(); }