[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: [cdt-dev] Installing custom code templates
|
Alain,
what do you mean by "from scratch, in the head" ?
I found that they are stored in the workspace in .metadata/.plugins/org.eclipse.cdt.ui/templates.xml
But how do they get there. They must be created when the workspace is created (or when the C/C++ perspective is opened for the first time). Can anybody give me a pointer to where the originals are stored or where the creating code is?
Thanks,
Norbert
-----Ursprüngliche Nachricht-----
Von: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] Im Auftrag von Alain Magloire
Gesendet: Mittwoch, 2. März 2005 16:12
An: cdt-dev@xxxxxxxxxxx
Betreff: Re: [cdt-dev] Installing custom code templates
>
> Hello all,
> =20
> I want to have custom code templates for my C++ projects. Now I am aware =
> that I _could_ manually import my templates via the Windows --> =
> Preferences --> C/C++ --> Code Templates dialog - once per workspace, I =
> assume. But I want the templates to be installed so the user does not =
> have to be bothered with an extra import step.
> =20
> - Is there an extension point to include custom code templates?
> - Do I need to patch the default-templates.xml in org.eclipse.cdt.ui_nl?
> - Can I programatically do the import step during post-installation?
> - Any other smart way to go about this.
Good questions, The templates are being written from scatch, in the head.
You should make a PR so we can have this as a plan item for CDT-3.0
and follow through.
The old version has many problems.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev