2

I have tried to copy/paste my code into my code editor on my MAC. However, it auto indents everything. Is there a way to un-indent multiple lines at once?

3 Answers3

1

This really depends on what's the editor you are using. If it's vi/vim, just type :set paste before pasting the code.

0

If you are using python IDLE just ctrl+H-> check Regular expression ->Enter ^\t -> Replace All .... done :).

0

Try command+[ or command+] after you've selected the lines That at least works for me in IDLE.

Atticus29
  • 237