[Geany] Different templates for .c and .h?

Nick Treleaven nick.treleaven at xxxxx
Wed Apr 28 13:18:05 UTC 2010

On Wed, 28 Apr 2010 15:04:52 +0200
Joerg Desch <jd.vvd at web.de> wrote:

> > > Is it possible to have different templates for source and header
> > > files for a file type like C or C++?
> > 
> > Not in the last release. In the SVN version you can have as many file
> > templates as you like even for the same filetype.
> I only need 2 (*.c/*.h) ;-)
> What is the way to "assign" one of these (multiple) templates (for the same type)?


Basically you just make a number of files like source.c, header.h and
put them in ~/.config/geany/templates/files/. They should appear in the
'New with template' menu.


More information about the Users mailing list