Posts

Showing posts with the label eclipse plugin

Using the Fast Code Eclipse Plugin

Image
I recently discovered an eclipse plugin that I've been needing since I started coding. On several occasions I started down the path of writing my own but quickly got lost in the world of eclipse and ran out of time. Out of the box, the fast code plugin generates many types of code/xml, but the part that I really like is its support for custom templates. How to Write Your Own Template Here are the steps that I used to create my own template which generates a spring RowMapper for a JdbcDaoSupport class. Start with exporting templates using menu Fast Code | Templates | Export Templates : Choosing templates-config.xml (or all) creates a new project in my workspace: Next, I altered the exported templates-config.xml file and added my own custom template: <template type="Create Spring Detail Mapper"> <description></description> <variation></variation> <class-pattern></class-pattern> <getter-sett...