Skip to main content
added 128 characters in body
Source Link

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.

Important Note
As in the comments below found that you must ensure all white space in from of first line is selected.

    //Some Code
    if (myTab >= TooMuch) {
        shiftLeft();
    }

Test 2:

        //Some Code
     if (myTab >= TooMuch) {
        shiftLeft();
     }

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();
     }

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.

Important Note
As in the comments below found that you must ensure all white space in from of first line is selected.

    //Some Code
    if (myTab >= TooMuch) {
        shiftLeft();
    }

Test 2:

        //Some Code
     if (myTab >= TooMuch) {
        shiftLeft();
     }
deleted 10 characters in body
Source Link

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(); }

        //Some Code
     if (myTab >= TooMuch) {
        shiftLeft();
     }

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(); }

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();
     }
Added test 2
Source Link
jzd
  • 14.3k
  • 4
  • 35
  • 56

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(); }

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();
    }

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(); }

added 278 characters in body
Source Link
Loading
Source Link
Loading