From 2c9154047ad3f058549c10e187ee0fef24dd18f4 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Fri, 25 Mar 2022 12:37:27 +0100 Subject: [PATCH] language_injection.md: add dependency information --- .../custom_language_support/language_injection.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/topics/reference_guide/custom_language_support/language_injection.md b/topics/reference_guide/custom_language_support/language_injection.md index e067b4116..4594a83e8 100644 --- a/topics/reference_guide/custom_language_support/language_injection.md +++ b/topics/reference_guide/custom_language_support/language_injection.md @@ -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). +> To use Language Injection API in your project, [add dependency](plugin_dependencies.md#2-project-setup) on the `IntelliLang` plugin. +> +{type="note"} + ## 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.