Hello,
I really like CodeBlocks and would like to make a suggestion for an improvment.
The class Wizard is nice but it doesn't really speed coding up. I'd love to see a plugin that does the following:
- When I create a header it automatically inserts header guards. The macro name should automatically be unique so either it is a mangled version of the file name or a GUID. When that is done positioning the cursor between the include guards would be nice.
- A button that auto generates a skeleton cpp based on the header. For example you have the following header:
#ifndef HEADER_HPP
#define HEADER_HPP
class Foo{
void test();
void bar(int, unsigned =3)const;
static int a;
int b;
};
void func();
#endif
and it generates:
void Foo::test(){
}
void Foo::bar(int, unsigned)const{
}
int Foo::a;
void func(){
}
Now that code competition is implemented it should be possible to scan the header file and use that information the generate cpp file.