Projects & Templates

amilcar amilcar at ida.ing.tu-bs.de
Thu Apr 6 23:40:37 BST 2006


> Greetings,
>
> I'm an obvious newbie at KDevelop and have been trying to figure out how
> to do a couple of things with very little success. When I start a new
> C++ project, I want to automatically create a "template" for both .cpp
> and .h files, with a custom license / copyright notice at the top. Easy!
> Obvious! you say, but here's the kicker... I've figured out how to put
> our license file in the New Project Wizard's selection list (along with
> BSD, GPL, etc) and it pulls it in just fine. But I don't like the type
> of comment delimiters used. Our particular programming style uses the
> single line "//" delimited commenting style almost exclusively, but
> KDevelop seems to really like to use the "/*  */" commenting style. How
> do I convince/configure KDevelop to use the "//" commenting style when
> producing the template files? I figure I can manually go in and edit the
> template files after they've been produced, but I will be using KDevelop
> on multiple projects and running into the same problem each time...

// is for C
So I guess all you need to do is to use the .c template instead of the
.cpp template

Amilcar

PS: there is a lot more documentation about templates in the KDevelop API
documentattion on www.kdevelop.org

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list