Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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.



Back to the top