T O P I C R E V I E W |
rizzuhjj |
Posted - Mar 29 2007 : 7:08:56 PM Say I have a class:
.h:
namespace Foo { ..class Bar ..{ ....void Baz(); ..}; }
.cpp
namespace Foo { ..void Bar::Baz() ..{ ....int i = 10; ..} }
If I change signature on Baz() from the .h file, the result is:
.h:
namespace Foo { ..class Bar ..{ ....void Baz(int newi); ..}; }
.cpp
namespace Foo { ..void Bar::Baz(int newi) { ....int i = 10; ..} }
Notice that the open curly brace in the implementation is not indented. |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Mar 30 2007 : 12:49:15 PM I am seeing the same effect here. Thank you for the clear description.
case=5758
If most of your code is indented like this then you can edit the autotext rule "Refactor Create Implementation" to place the desired indenting before this curly bracket, which fixes this problem, at least in this case. |
|
|