Book a Demo

Author Topic: generate update in file template  (Read 2023 times)

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
generate update in file template
« on: October 30, 2012, 11:56:50 pm »
hi everyone,
I wanna have the class discription on top of the .h file.

so my template looks like this

FILE:

Code: [Select]
/*!
****************************************************************************************************
* \file      %fileName%
*
* \ingroup xx
*
* <table class="mdTable" cellpadding="5" cellspacing="0" border="0"><tr><td>
* <h2> SVN-Repository: </h2>
$dummy = "$HeadURL$"
* SVN-Repository: $dummy
$dummy = "$Author$"
*         Author: $dummy
$dummy = "$Date$"
*           Date: $dummy
$dummy = "$Revision$"
*       Revision: $dummy
* </td></tr></table>
*
$comment = "Notes without, /** and blank *"
$ClassNotes = %ClassNotes%
%if $ClassNotes != ""%
$ClassNotes = %REPLACE($ClassNotes,"/**","")%
$ClassNotes = %REPLACE($ClassNotes,"*/","")%
%REPLACE($ClassNotes," *","*")%
%else%
* No description available...
%endIf%
****************************************************************************************************
*/\n

It works only for the first generate. How can I add it to the syncronise list?because the File template is not updating right now!

also if I put new #includes in the include window of generate
the includes will not be updated
« Last Edit: October 31, 2012, 12:23:41 am by EAIFM »
Support- Languages: German, English, French