Easy way to convert 4 space indentation to 2
I use 4-space indentation for all of my own work. I've picked up a large
project from a client where they insist on 2-space indentation. I've
already touched hundreds of lines of codes across many source files before
finding this out.
Xcode is the IDE I'm using here but I'm open to any solution. I'd like to
find some way that can just walk through the project and auto format the
indentation.
I've been looking for a bit but I mainly find people hand waving about
tabs vs spaces, 4 vs 2, etc. I've also run across indent, expand, and
unexpand commands but they don't seem to be quite right.
Any ideas?
No comments:
Post a Comment