[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to create c/c++ templates
From: |
Thierry Volpiatto |
Subject: |
Re: how to create c/c++ templates |
Date: |
Wed, 16 Apr 2008 18:48:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Alain Muls <alain.muls@telenet.be> writes:
> Hello,
>
> I use emacs/ecb for programming in C/C++.
>
> I would like to have functions available that insert templates such as
> the 'if .. then .. else' construct or a certain Qt function that I use
> regularly. How can I do that, I am not used to program in lisp, so an
> example should suffice.
>
> I would also like to connect these templates to key-shortcuts.
>
> Any help much appreciated
>
> Tx/Alain
>
>
Hello, have a look at yasnippet.
http://code.google.com/p/yasnippet/
Work fine with python out of the box, should work also with C.
--
A + Thierry
Pub key: http://pgp.mit.edu