CND Language / Jahia Framework support for IntelliJ IDEA
definitions.cnd files syntax highlighting, code completion, and other amazing stuff.
You can also rate it on the JetBrains Plugins Repository.
Requirements
Tested under IntelliJ IDEA from 14.1.4 to 2022.3.2
IntelliJ plugins dependencies (optional): JavaEE, JSP, Properties. Requires Java 17 or higher (Java 8 before v2.2.0).
Jahia project versions: 6.6.x, 7.x, and 8.x.
Features
CND Language
- Syntax highlighting
- Syntax checking and error highlighting
- Code completion
- Code formatting
- Find usages (ctrl-click/cmd-click) - for namespaces, nodetypes and nodetypes properties declarations (not getting namespaces and nodetypes usages in .properties files for the moment though)
- Go to declaration (ctrl-click/cmd-click) - for namespaces and nodetypes usages throughout the file
- Refactoring
- Rename (shift+f6) - for namespaces, nodetypes and nodetypes properties declarations (not renaming namespaces and nodetypes usages in .properties files for the moment though)
- File icon
- Line markers for namespaces and nodetypes / mixins
- Code folding - for namespaces and nodetypes
- Brace matching - closing brackets and parenthesis are automatically inserted where authorized by the syntax
- Commenter (ctrl+/) - to comment lines of code
Jahia Framework
Compatible with Jahia 6.6.x, 7.x, and 8.x.
Roadmap (?)
This is just the beginning.
- Improved cache .properties support:
- Resource bundles .properties extension, to be able to find namespaces and nodetypes usages in it
- View cache .properties custom language
- Plugin settings
- Make helpers/quickfixes accessible through Actions in menus
- Groovy support
Don't hesitate to request features / suggest enhancements by opening an Issue.
--
This plugin is neither official nor endorsed by Jahia in any way. I am just a guy who loves this CMS and wanted to make working with it easier for everyone (or at least everyone using IntelliJ, duh).