Reputation: 2949
When I write a class' constructor and use shorthand initializations like this:
A(int x, int y) :
position(x, y),
image(nullptr) {
}
Visual studio formats it like this:
A(int x, int y) :
position(x, y),
image(nullptr) {
}
Is there any option in Visual Studio 2010 or 2012 to format the indents correctly?
Upvotes: 0
Views: 79
Reputation: 385395
Turn off the broken "automatic indentation" and type the TABs yourself. :)
Upvotes: 1