How to convert the amount of indentation in a source code file?
Posted
by toby
on Stack Overflow
See other posts from Stack Overflow
or by toby
Published on 2010-05-25T23:11:05Z
Indexed on
2010/05/25
23:21 UTC
Read the original article
Hit count: 159
I find that I now often work with code bases that have different amounts of indentation. Some use 2 spaces, some use 4 space, some even use tabs! Once in a while, I have to share code between these codebases, or, sometimes I use an incorrect amount of indentation by mistake. Is there a tool or a text editor feature that will convert between different amounts of indentation?
© Stack Overflow or respective owner