Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1549: Change Signature Doesn't Respect Indentation

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000