Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1549: Change Signature Doesn't Respect Indentation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rizzuhjj
New Member

2 Posts

Posted - Mar 29 2007 :  7:08:56 PM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18952 Posts

Posted - Mar 30 2007 :  12:49:15 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000