Tolc / IntelliJ_Jahia_plugin

Jahia's definitions.cnd files syntax highlighting, code completion, and other amazing stuff
Apache License 2.0
22 stars 3 forks source link

CND: Invalid property default value multiple #51

Closed totohh-zz closed 4 years ago

totohh-zz commented 4 years ago

Hello, I have a problem with the plugin when it parses my definitions.cnd with a property multiple which have 2 default values : [mynt:socialsharing] > jnt:content, jmix:socialComponent

So, the other components and their views are not visible.

Best regards, Thomas

Tolc commented 4 years ago

Hello and sorry for the little delay, You're right, there is an issue with multiple default values, mainly because....well, I actually never had to do that in a project, so I just had no idea it was possible until now. So thanks I guess 😄

I'm working on a quick fix for it and I'll release it as soon as possible. In the meantime, I suggest you put this nodetype definition at the end of your cnd file so the rest of the file is properly parsed...

Tolc commented 4 years ago

I've just released v2.0.1 (which was long overdue anyway), so after the plugin update you should not have this issue anymore. Peace!