Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Implement Method, Insert Position in CPP File

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
drzoom Posted - Jul 11 2006 : 04:46:03 AM
Situation:


class Foo {
public:
void a();
void b();
};



Foo::a()
{
}
Foo::b()
{
}


If I insert a new method between the two existing methods...


class Foo {
public:
void a();
void newMethod();
void b();
};


...and click on "Implement method". I expect:


Foo::a()
{
}
Foo::newMethod()
{
}
Foo::b()
{
}


An option in the VAX comfiguration for the insert position of the implementation would be nice. The configuration could be a list with insert positions which are tried to use in a given order. The possible insert positions could be:


  • After implementation of next implemented method before.

  • Before implementation of next declared method with implementation.

  • At end of file/namespace bracet.



1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 11 2006 : 6:06:14 PM
i have already discussed this with Support, since i wanted, and still want, exactly the same thing.

there are two basic problems with trying to do this.
a) what happens when the header file and cpp file are in a different order?
b) operator overloading confuses the issue.

in addition as soon as we start placing functions in a given location, then people are going to want options / more control, and we are trying to keep the refactoring as simple to use as possible, with the absolute minimum number of questions asked.

we are hoping to improve operator overloading handling with time, so perhaps we can return to this idea at a later date.

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