[Custom Language] Provide custom Language Injections via plugin

Hi!

I have plugin that adds support for custom language into IDE.

When I am writing (for example) Java code I can manually inject my language into string.
Also I can add Language Injection in preferences (Editor -> Language injections).

I am trying to find solution to register custom Language Injections from plugin.

So, everyone who installs plugin will have such injections automatically.

Any ideas?

Thanks, Dmitry.

1 comment
Comment actions Permalink

You can add language injection configuration to your plugin.xml using the injectionConfig tag. See here and here for an example.

0

Please sign in to leave a comment.