language_injection.md: add dependency information

This commit is contained in:
Karol Lewandowski 2022-03-25 12:37:27 +01:00
parent 000c3b5bab
commit 2c9154047a

View File

@ -201,6 +201,10 @@ If there is no primary `LanguageInjectionPerformer` found, then a fallback injec
The method `performInjection()` does the actual injection into the context PSI element and/or some elements around it if needed in case if they are semantically connected (concatenation injection for instance). The method `performInjection()` does the actual injection into the context PSI element and/or some elements around it if needed in case if they are semantically connected (concatenation injection for instance).
> To use Language Injection API in your project, [add dependency](plugin_dependencies.md#2-project-setup) on the `IntelliLang` plugin.
>
{type="note"}
## MultiHostInjector ## MultiHostInjector
[`MultiHostInjector`](upsource:///platform/core-api/src/com/intellij/lang/injection/MultiHostInjector.java) registered in `com.intellij.multiHostInjector` EP is a very low-level API, but it gives plugin authors the most freedom. [`MultiHostInjector`](upsource:///platform/core-api/src/com/intellij/lang/injection/MultiHostInjector.java) registered in `com.intellij.multiHostInjector` EP is a very low-level API, but it gives plugin authors the most freedom.