I create a class in namespace and I get:
test.hpp
Code: Select all
namespace abc
{
class test
{
test();
foo();
};
}
Code: Select all
#include "test.hpp"
namespace abc
{
test::test()
{
}
}
Of course it's easy to remove the namespace while editing function body and ctrl-x ctrl-v it into namespace, but I think that code generation and class generation should be consistent. (both should place function inside the namespace in .cpp file, like constructor and destructor are placed by wizard).
Just a suggestion to make codelite even better and more polished.