On build 2029 using Visual Studio 2008, when I "Change Signature" on a member function of a class, the definition in the CPP file gets skewed a bit. The opening curly brace of the function gets shifted all the way to the left, losing the tabs it had. I use 3 spaces per tab. Here is an example:
// Header File
namespace Stuff
{
class Foo
{
public:
void DoStuff(int number);
}
}
// In CPP file
namespace Stuff
{
void Foo::DoStuff(int number)
{
}
}
And after I change signature to add another parameter, this is what it looks like in the CPP file:
// In CPP file
namespace Stuff
{
void Foo::DoStuff(int number, int second)
{
}
}
Notice how the first curly brace is not tabbed over like it should be. This is a regression, as it didn't used to do this in earlier builds. This problem becomes even worse when I change signature on a base interface and it alters all subclass versions as well, all of those curly braces get messed up too.