I have the following class:
namespace foo {
class bar
{
public:
void dostuff();
};
} // namespace foo
and in my CPP, I have the following:
namespace foo {
void bar::dostuff() {}
} // namespace foo
Now let's say I am in the CPP and I add a new function definition to the class without putting its declaration first:
namespace foo {
void bar::dostuff() {}
void bar::otherstuff() {} // New function
} // namespace foo
I right click on this and create function declaration through VAX, and I get:
namespace foo {
class bar
{
public:
void dostuff();
void bar::otherstuff();
};
} // namespace foo
Visual Assist did not remove the "bar::" part from the declaration, as it should. I think it is getting confused because of the way I have the namespace wrapping everything.
Please fix this, I remember this bug from years ago and it's still here.