How to extend intelliLang language injections from custom plugin.
Hi, everbody.
I'm writing custom plugin for my language. I've already implemented lexer and parser and it works fine.
I also have some Java API, which parse this language in some method calls. To make work with this API easier I've added some custom language Injections, so I can edit fragments, when developing in Java. I did it manually inside IDEA, but now I want to install this injections with my plugin. Can anybody say how to do that?
Please sign in to leave a comment.
Hello Dzmitry,
This is from intelliLang-java-support.xml (an optional part of
IntelliLang/plugin.xml):
Use "injectionConfig" extension to register an xml with custom
injections. It is picked up as resource by a host plugin classloader.
This approach works since Idea XI.
On 12/2/11 6:45 PM, Dzmitry Paulenka wrote:
>
>
Regards,
--
Gregory Shrago
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"