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 interface/pure virtual methods
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Vertexwahn
Senior Member

35 Posts

Posted - Mar 15 2010 :  6:43:44 PM  Show Profile  Reply with Quote
Often I have to implement methods from derived classes like this(C++):


class Foo
{
public:
// some comment for documentation
int foo1(const std::string &p) = 0;

bool foo2() = 0;

protected:
int foo3() = 0;
};

// implements class Foo
class Bar : public Foo
{
public:
// some comment for documentation
int foo1(const std::string &p)
{
}

bool foo2()
{
}

protected:
int foo3()
{
}
}


Often the inherited class is not in the same file as the base class, so I also have to switch between different files to look up the prototypes of different methods.

I think it would be a great addition to Visual AssistX to have a feature like "Implement interface" or "Implement inherited methods" or something like this.

I tried to write a Visual Studio Macro that handles it - but I have stopped development due lake of time, but I think its quite doable. You can watch my efforts here:

I hope to see something similar soon in Visual AssistX
http://www.youtube.com/watch?v=dF861m-GvKw

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Mar 16 2010 :  3:14:53 PM  Show Profile  Reply with Quote
We are looking to add this feature to VA:

case=1505

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jan 24 2011 :  4:03:16 PM  Show Profile  Reply with Quote
case=1505 is implemented in build 1840

Whole Tomato Software, Inc.
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