[Geany] Template for C++ headers
jay
jay.27182818 at xxxxx
Tue Nov 4 13:24:05 UTC 2008
hi guys! i've recently switched to geany from cdt (eclipse plugin for
c/c++). when you create a new header file in cdt it's default content is
like below:
#ifndef SOMEHEADER_H_
#define SOMEHEADER_H_
#endif /*SOMEHEADER_H_*/
where SOMEHEADER is the name of the file. Can you tell me how can i make
it in geany? I have created a template and put it into
~/.geany/templates but geany doesn't seem to see it even after restart.
my template has this content:
#ifndef {filename}
#define {filename}
#endif /*{filename}*/
but filename is not what i need. I got stuck at this point. Need your
help.
More information about the Users
mailing list