Bug#36632: wish for configurable code style

AndreasWuest at gmx.de AndreasWuest at gmx.de
Sun Dec 30 12:19:03 UTC 2001


Package: kdevelop
Version: KDE 2.2.2 
Severity: wishlist
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

Hi,

i really like a feature that allows you to define the code style.
at the moment the created code looks always the same,e.g. if you
add a member function, the code looks like :

/** comment */
void ClassName::something () {
}

i do not like the code this way, so there should be a feature
where you can define where to set the braces (End of line, Next line) so
the code looks like the following if you select next line.

/** comment */
void ClassName::something ()
{
}

Another thing that should be possilbe to configure is the code style
when you add a class. So far there is no blank between the name of the
method and round brackets that contain the arguments.

/** comment */
SomeClass::SomeClass() {
}

since i do not like that either it should also be possible to configure
wether there is a blank between the MethodName (Class Name) and the round
brackets, so you can have code that looks like when it is created :

/** comment */
SomeClass::SomeClass ()
{
}


Just take a look at JBuilder 4+. In the project properties you can define
the code style.

I would be really cool if you could add these features, because that would
same me and probably a lot of other people quite some time when coding apps.

Keep up the great work,

 Andreas



(Submitted via bugs.kde.org)





More information about the KDevelop-devel mailing list