最近在研究XWiki,它是支持Velocity的,所以就顺便调查了一把支持Velocity的编辑器。不过由于用惯了eclipse,自然是以eclipse的插件为主要调查方向了。
调查下来一共找到四个插件,其中一个叫veloedit,一个叫velocitywebedit,另外两个都叫veloeclipse,不过确实是两个不同的插件,一个在google code上,一个在sourceforge上。详细信息可以看参考资料。
功能简介
1. veloedit 1.0.2
- Syntax-highlight for Velocity Template Language (VTL)
- Outline view with hierarchy of VTL directives and Velocimacro references
- Content assist for VTL directives and references -> auto-activation after the character '#' or '$' or manually via keyboard shortcut Ctrl+Space
- Automatic template validation while typing (the first syntax error is show in task list and the according line is marked in annotation column)
- Annotation hover with definition of references and template syntax errors
- Go to definition of variable or Velocimacro reference under current cursor position (via context menu or keyboard shortcut F3)
- Comment and uncomment blocks (via Ctrl+/ and Ctrl+/)
- Preference pages for definition of Velocity counter name and user-defined Velocity directives
- Preference pages for color settings of the editor's syntax highlighting
- Preference pages