IntelliJ_Jahia_plugin

Jahia's definitions.cnd files syntax highlighting, code completion, and other amazing stuff

APACHE-2.0 License

Stars
22
Committers
1

Bot releases are visible (Hide)

IntelliJ_Jahia_plugin - 2.2.0 Latest Release

Published by Tolc over 1 year ago

Requires IntelliJ 2022.3+ (and Java 17)

Fixes

  • (IMPORTANT FIX) Fixed plugin jars dependencies not being correctly added to jahia modules anymore, thus preventing CND and JSP completions from working properly on newly created modules
  • Fixed grammar issue with escaped quotes in property constraint (#64)
  • Refactored huge chunks of the code to get rid of deprecated IDEA APIs

Features

  • Better syntax highlighting of node properties (#69)
  • Line marker for property overrides (#70)
IntelliJ_Jahia_plugin - 2.1.1

Published by Tolc about 2 years ago

Fixes

  • (IMPORTANT FIX) Refactored code for IntelliJ 2022.2 API (#65)
  • Fixed grammar issue with escaped quotes in property default value (#64)
IntelliJ_Jahia_plugin - 2.1.0

Published by Tolc over 2 years ago

Fixes

  • (IMPORTANT FIX) Refactored tool window for IntelliJ 2022.1 API (#61)
  • (IMPORTANT FIX) Fixed JSP EL variables completion and references (apparently not working since official JSP plugin has been separated into JavaEE + JSP plugins)
  • Fixed grammar-breaking issue with property default value not being recognized as such when containing ")" character between simple or double quotes (#62)
  • Fixed stack-overflow error that could occur when getting all properties of a nodetype recursively (#60)
  • Fixed <template:include> view completion and references not including extends views (#54)
  • Fixed <template:addResources> completion and references (#52)

Features

  • Added several CND files for nodetypes completion purposes (#55)
  • Way better nodetypes options and properties attributes grammar and syntax validation
  • Better syntax highlighting
IntelliJ_Jahia_plugin - 2.0.6

Published by Tolc almost 3 years ago

Fixes

  • (IMPORTANT FIX) Refactored code for IntelliJ 2021.3 API (#58)
IntelliJ_Jahia_plugin - 2.0.5

Published by Tolc about 3 years ago

Fixes

  • (IMPORTANT FIX) Refactored code for IntelliJ 2021.2 API
  • Fixed issue with namespaces declarations without linebreak in CND file
  • Fixed CND file auto formatting between right parenthesis and equal
IntelliJ_Jahia_plugin - 2.0.4

Published by Tolc over 4 years ago

Fixes

  • (IMPORTANT FIX) Fixed forced reindexing of Project, Project's JDK, and Local Maven repo happening in IntelliJ 2020.1 (#53)
IntelliJ_Jahia_plugin - 2.0.3

Published by Tolc almost 5 years ago

Fixes

  • (IMPORTANT FIX) Fixed plugin breaking issue with IntelliJ 2019.3 (coming from a malformed cnd files jar)
IntelliJ_Jahia_plugin - 2.0.2

Published by Tolc almost 5 years ago

Fixes

  • Fixed issue with 'resourceBundle' property default value
  • Fixed issue with empty string as property default value
IntelliJ_Jahia_plugin - 2.0.1

Published by Tolc almost 5 years ago

Features

Fixes

  • Fixed CND formatting adding spaces between property type and default value (#46)
  • Fixed issue with choicelist options being allowed to contain + and - even when not between quotes (#47)
  • Fixed ${currentNode} checks not being trimmed (#48)
  • Fixed views not being identified as views if nodetype name contains underscores (#49)
  • Fixed 'currentNode' property access being flagged as a non 'currentNode' property access when in a JSTL function (#50)
  • Fixed issue with property multiple default value (#51)
  • Added various missing completion values and default cache properties options
IntelliJ_Jahia_plugin - 2.0.0

Published by Tolc over 6 years ago

Features

  • (IMPORTANT FEATURE) Properties completion in JSP (both in ${currentNode.properties} and <jcr:nodeProperty/> expressions)
  • Jahia Tool Window (showing mixins/nodetypes, Jahia actions, and Jahia filters trees)
  • Views virtual folder (#40)
  • Icons for Jahia technical folders (css, javascript, icons, errors, img)
  • Custom icons (in 'icons' folder) displayed in the gutter in CND files next to their corresponding nodetype/mixin
  • Better nodetypes reference and completion in JSP: nodetypes are now recognized in EL expressions and tag text
  • <template:option/> 'view' attribute completion, reference, and line marker (#38)
  • Better base Jahia modules .cnd loading (normally no need to restart project anymore)
  • 'Create new view' helper when right clicking on a nodetype in a .cnd file or on a nodetype directory/subdirectory in the project explorer
  • 'Create new CND file' helper when right clicking on META-INF directory/subdirectory in the project explorer

Fixes

  • Fixed issue with spaces not being allowed in property default values delimited by double quotes (#43)
  • Fixed CND files containing only namespaces flagged as invalid (#37)
IntelliJ_Jahia_plugin - 1.3.3

Published by Tolc about 7 years ago

Fixes

  • (IMPORTANT FIX) Fixed several issues occurring when several Jahia IntelliJ projects are opened at the same time
  • (IMPORTANT FIX) Fixed several issues occurring when current IntelliJ project contains several Jahia modules
IntelliJ_Jahia_plugin - 1.3.2

Published by Tolc over 7 years ago

Feature/Fix

  • JSP features are now optional, allowing the plugin to work under IntelliJ Community Edition (#34)
IntelliJ_Jahia_plugin - 1.3.1

Published by Tolc over 7 years ago

Features

  • <template:include/> 'view' completion and reference is now based on node types hierarchy (because a node can indeed access its ancestors views)
  • <template:module/> 'view' attribute completion and reference by ctrl-click (both are affected by 'templateType' attribute if provided)
  • <template:include/> and <template:include/> line markers

Fixes

  • Fixed missing accessor in generated JSP code for 'multiple' properties (#30)
  • Fixed duplicated view files in 'view folder' when view names start the same (#31)
IntelliJ_Jahia_plugin - 1.3

Published by Tolc over 7 years ago

Features

  • <template:include/> 'view' attribute completion and reference by ctrl-click (both are affected by 'templateType' attribute if provided)
  • 'Create new view' helper now generates <c:forEach/> loops for 'multiple' properties and '+ *' subnodes

Fixes

  • Jahia base .cnd files jar library path is now force-refreshed on project opening
  • Fixed grammar issue with property attributes recognized as part of default value (happening when default value and choicelist constraint or one of the attributes both contained simple quote)
IntelliJ_Jahia_plugin - 1.2.1

Published by Tolc almost 8 years ago

Fixes

  • Fixed stupid typo with "mandatory" being spelled "madatory" in cnd language completion (#19)
  • Fixed completion for IntelliJ 14 (#20)
  • Fixed abusive errors in Java, XML and properties files (#21)
  • Fixed exception happening sometimes when searching for Jahia work folder (#22)
IntelliJ_Jahia_plugin - 1.2

Published by Tolc almost 8 years ago

Features

  • Jahia JSP variables completion (currentNode, moduleMap, etc... without having to use elvariables)
  • Nodetype folders icon in Project View
  • Line breaks within properties and subnodes now accepted

Fixes

  • (IMPORTANT FIX) Fixed weird huge CPU/Memory consumption when calculating 'virtual' folders for views after editing a file with its view folder opened in Project view
  • Removed abusive 'Unresolved CND namespace' annotations on strings containing ':' in Java and XML
IntelliJ_Jahia_plugin - 1.1.1

Published by Tolc almost 8 years ago

Fixes

  • Fixed HUGE issue with the way library jar containing Jahia base .cnd files was generated - Did not know there was so much difference on the way plugins are deployed between a real IntelliJ platform installing the plugin through the repo, and the development 'sandbox'... Sorry about that
IntelliJ_Jahia_plugin - 1.1

Published by Tolc almost 8 years ago

Features

  • (MAJOR feature) Completion and other features on Jahia nodetypes (embedded jahia base and main module .cnd files) - a local library called 'jahia-plugin-base-cnd-files' is automatically added to the module dependencies if the module contains at least one cnd file (in case you have deleted this dependency, no panic, it comes back after re-opening the project)
  • Nodetypes translations properties are no longer flagged as unused in .properties files

Fixes

  • Fixed platform dependent (Windows/Linux/Mac) issue with files and folders paths
  • Fixed issue with property type mask option containing '.' not being recognized (for instance 'ckeditor.customConfig')
  • Fixed issue with namespace URIs containing '-' being flagged as non-valid URI
IntelliJ_Jahia_plugin - 1.0

Published by Tolc almost 8 years ago

First real release

CND Language

  • Syntax highlighting
  • Syntax checking and error highlighting
  • Code completion
  • Code formatting
  • Find usages
  • Go to declaration
  • Refactoring
    • Rename
  • File icon
  • Line markers
  • Code folding
  • Brace matching

Jahia Framework

CND files features:

  • Helpers/Quickfixes
    • Create nodetype and nodetype properties translations
    • Create new view
  • View files grouping

Other files/languages features:

  • JSP/XML/Java
    • Nodetypes usages highlighting & line markers
    • Nodetypes completion
    • Go to nodetype declaration
    • Unknown nodetype error highlighting
    • Create nodetype quickfix
  • Properties (resource bundles)
    • Translations keys syntax highlighting & line marker
    • Translations keys completion
    • Go to declaration
    • Error messages
IntelliJ_Jahia_plugin - Syntax highlighting

Published by Tolc almost 9 years ago

Jahia's definitions.cnd files syntax highlighting is done and working. Stay tuned for code completion!

Badges
Extracted from project README
release marketplace Jahia