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