[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] C source file template variables
|
This is not possible at the moment. Although the underlying mechanisms
share some common code,
contributed variable resolvers are not supported in code and file
templates.
(BTW, what you are calling code templates are editor templates).
Please file an enhancement request to follow up on that.
Thanks,
Toni
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Kogler Johannes
> Sent: Wednesday, May 13, 2009 10:37 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] C source file template variables
>
> Hello to everyone,
>
> I've added new code template variables by using the extension point
> org.eclipse.ui.editors.templates with context id
> org.eclipse.cdt.ui.text.templates.c. In my code templates these
> variables are expanded correctly. Unfortunately these
> variables can't be
> used in my C source file templates. Is there a possibility to add user
> defined variables for C source file templates?
>
> Thanks in advance!
>
> Yours sincerely,
> Johannes Kogler
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>