FDT templates
Saturday, February 2nd, 2008The day I found out that it is possible to define code snippets within the FDT plugin my productivity went up about 20%. I wasn’t actually aware of the feature until I stumbled upon it by chance so I venture there are more people out there that are missing out on this unique chance to boost their productivity. What is this all about?
FDT lets you define templates for frequently used code snippets that you can call via a key word you define.
For example: when you type “fori” and hit CTRL+Space FDT will suggest to write a regular for-loop for you and guide you from one crucial element of the loop to the other e.g. to change the suggested index or array the loop is performed on. Isn’t that great?
And it gets even better: you can create new templates and call them via the keyword you choose. Never want to write a singleton from scratch again? Here is how it goes:

