source code documentation variables
kitts
kitts at hotpop.com
Sun Apr 2 06:47:22 BST 2006
On Thursday 30 March 2006 01:33 IST, Wim-Jan Hilgenbos wrote:
> > Is there any documentation of the various variables that i can insert
> > in source files that would get replaced.
> >
> > I have found some variables used in template files such as $AUTHOR$.
> > These
>
> $AUTHOR$ is a CVS tag. I gets its info in checkin in an out of CVS. In
> case of author this will never change of course :)
May be this is also supported as a KDevelop template variable as it gets
replaced by the author name when the source/header file gets created but
never again later.
There is some information at
http://docs.kde.org/development/en/kdevelop/kdevelop/applicationwizard.html#new-projects-start-templates
which then suggests looking at another location where documentation is not
complete.
Is there some place i can get a list of such variables?
> I standard use $Id$ and $Log$ in a file. The first will expand to
> filename, versionnumber and date author etc, the last will add your
> checkin comment to a list so you have an overview of why changes where
> made.
> Some other people abhor that kind of thing, but I like it in my source
> file instead of having to query CVS.
> CVS has a lot of other tags for expanding and some rules when it does or
> does not expand. To get the whole picture check the CVS manuals,
> specificly the 'co' command.
From KDevelop template files, $MODULE$ expands to the file name and i think
$VERSION$ expands to the version.
But like the CVS way, what i want are some dynamic variables like data and
time of last modification and current version number. I do not use any
version control for simple projects but would still like this information.
--
Cheers!
kitts
-
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