TemplateFunction

Support questions relating to the actifsource Template Editor

TemplateFunction

Postby meierd » Fri Jan 18, 2013 9:35 am

Hi,

What is the purposes of attribute filetype in a TemplateFunction (and why it get's not automatically set until I extracting the subtemplate form the parent template)?
meierd
 
Posts: 11
Joined: Thu Oct 13, 2011 3:58 pm
Location: Switzerland

Re: TemplateFunction

Postby reto » Fri Jan 18, 2013 9:41 am

The file type in the template function has the same purpose as the file ending in the template editor. It chooses a syntax style model to highlight language keywords and comments.

If your template function generates java code, use java als filetype. If you plan to write C++ code, use hpp or cpp as file type.

* See also http://www.actifsource.com/tutorials/co ... style.html

There are discussions to refactor this part of the model.
reto
 
Posts: 99
Joined: Thu Aug 05, 2010 2:45 pm
Location: Switzerland


Return to Template Editor

Who is online

Users browsing this forum: No registered users and 1 guest

cron