|Re: How to build a Template like javadoc in jdt and cdt [message #1079378 is a reply to message #1071145]
||Sun, 04 August 2013 09:34
| Tanmay Wani
Registered: August 2013
You can do this using the JET (Java Emitter Template) and JDT tools of eclipse. JET is an eclipse tool which is frequently used to generate templates for various types of source files like java, xml, etc.. I don't know CDT actually, but I can tell you that writing a JET code is really simple. A JET code is a normal JSP (Java Server Page) code consisting of scriptlets, expressions, directives. You can browse through eclipse help for more information on JET, and compare both JDT and CDT to know which is easy and comfortable for you. But as far as I know, JET can generate any type of source code template.
To use JET, you need to have the JETBuilder plugin in addtion to JET the plugin, to compile the source code generated using JET. I think, when you install the plugin through eclipse's 'Install new software' feature, all the dependent JET plugins will also be installed.
Thanks and Regards,
Powered by FUDForum
. Page generated in 0.01497 seconds