mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 10:17:50 +08:00
language_injection.md: cleanup
This commit is contained in:
parent
94da556f65
commit
0e9cd37fef
@ -37,12 +37,12 @@ Multiple parts are then considered belonging together.
|
||||
|
||||
As a plugin author, you can provide language injection in different ways:
|
||||
|
||||
- For simple cases, the bundled [IntelliLang plugin](https://plugins.jetbrains.com/plugin/1105-intellilang) can handle injections,
|
||||
* For simple cases, the bundled [IntelliLang plugin](https://plugins.jetbrains.com/plugin/1105-intellilang) can handle injections,
|
||||
and plugin authors need to provide a configuration with patterns that specify the context where languages should be injected.
|
||||
IntelliLang can also be extended to support unknown custom languages.
|
||||
- Implementing the `com.intellij.languageInjectionContributor` extension point (EP) provides a high-level API for the injection of other languages.
|
||||
* Implementing the `com.intellij.languageInjectionContributor` extension point (EP) provides a high-level API for the injection of other languages.
|
||||
For more control over how a language is injected, plugin authors use the `com.intellij.languageInjectionPerformer` EP.
|
||||
- Implementing the `com.intellij.multiHostInjector` EP gives plugin authors the most control over where and how language injection will take place.
|
||||
* Implementing the `com.intellij.multiHostInjector` EP gives plugin authors the most control over where and how language injection will take place.
|
||||
|
||||
In the following sections, we'll discuss these three options in more detail.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user