Is there a simple way how to customize one of predefined XML Schemas for XmlLikeFileType?

Hello, i am creating a two file editors plugin. First editor is implicit, and second is my graphic designer. This first editor is asiciated with .jsl files, which basically contains content of standard XML Job Definition File for Batch Processing. What i want to do is to use standard syntax highlighting, code-completion and refactoring, which is standardly provided for XML files with this namespace "http://xmlns.jcp.org/xml/ns/javaee" but in addition i need to add an extra ID attribute for one of elements. Is there a simple way how to do it please?

3 comments
Comment actions Permalink

Yes, this is possible using DomExtender and adding additional DOM for the element. http://confluence.jetbrains.com/pages/viewpage.action?pageId=15799219

You can find the existing DOM for JEE Batch in package com.intellij.batch, unfortunately it's not opensource.

0
Comment actions Permalink

I got an another question connected with this namespace. Is it true, that Community Edition of IDEA doesn't have native support for such things like code-completion, refactoring and error highlighting for batch jobs with namespace i mentioned earlier?

0
Comment actions Permalink

Indeed, Community Edition does not support any of the JEE features, please see https://www.jetbrains.com/idea/features/editions_comparison_matrix.html

0

Please sign in to leave a comment.