JCR (JSR-283) Compact Namespace and Node Type Definition (CND) Editor.
The editor is built as eclipse plugin and supports code completion, validation, navigation, basic refactoring, syntax highlighting, auto formatting, code templates, outline and code generation. See project site for more details http://evra.github.io/cnd-editor/
The editor is based on Xtext and can be used to build other DSL which need to reference CND. For example one can reuse CND grammar to build jcr content descriptor DSL. It can be also used for java code generation using xtend language (for example POJO classes generation based on node type definitions).