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
 Feature Requests
 Implement Method, Insert Position in CPP File
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

drzoom
Ketchup Master

Switzerland
57 Posts

Posted - Jul 11 2006 :  04:46:03 AM  Show Profile  Reply with Quote
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.




best regards
Tobias

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jul 11 2006 :  6:06:14 PM  Show Profile  Reply with Quote
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.

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