Allow language injection in custom language plugin

Answered

Is there a way to allow language injection in a custom language plugin?

 

Thanks for your answers.

2 comments
Comment actions Permalink
Official comment

Yes, your injection host PSI elements should implement PsiLanguageInjectionHost.

Comment actions Permalink

Could you give me an example, please?

2

Please sign in to leave a comment.