Customizing generator templates

Hi,

I have a question about the templates used for the generator commands:

Which templating engine is being used? I would like to customize some of the templates (you know, after copying them with rw setup generator) . I would like to setup my IDE to support syntax highlighting etc for those .template files that are copied locally.