Generate CodeMirror templates from Eclipse templates.