# Language Injections

> **TL;DR**
> `File | Settings | Editor | Language Injections` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Editor | Language Injections` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

Use this page to manage the list of automatic [language injections](using-language-injections.html)  and configure the language injection feature for text, attributes, and parameters .

## Injection entries

| Item | Description |
| --- | --- |
| Checkboxes | Use the checkboxes to enable or disable the corresponding injections.     You can also enable or disable a number of injections at once. To do that, select the required injections in the list and click ![the Enable Selected Injections button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.actions.selectall.svg) or ![the Disable Selected Injections button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.actions.unselectall.svg) on the toolbar.     |
| Name |   The language in which the injection is available, the injection name, and, in parentheses, the package that contains the corresponding implementation.   |
| Language | The injected language. |
| Scope | There are different types of scopes:       * Built-in: this is a category for pre-defined injections. In terms of the scope, those are the IDE-level injections.    * IDE: user-defined injections that are available in all of your projects.    * Project: user-defined injections that are available only in the current project.      You can move the user-defined injections between the IDE and the project levels by using ![the Move to Project Scope button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.import.svg) the toolbar.    |

## Toolbar

| Item | Description |
| --- | --- |
|  ![the Add button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.add.svg)  |  Create a new injection entry. Select the injection category and then specify the injection settings in the dialog that opens.  |
|  ![the Remove button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.remove.svg)  | Remove the selected entries from the list.  |
|  ![the Edit button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.edit.svg)  |    Edit the settings for the selected injection.     IMPORTANT: Don't edit the settings for built-in injections.    |
|  ![the Duplicate button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.copy.svg)  |  Create a copy of the selected injection entry. Then edit the settings for that copy as necessary.  |
|  ![the Enable Selected Injections button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.actions.selectAll.png)  | Enable all the injections currently selected in the list. |
|  ![the Disable Selected Injections button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app-client.expui.actions.unselectAll.png)  | Disable all the injections currently selected in the list. |
|  ![the Import button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.import.svg)  |  Move the selected injections between the IDE and the project levels. See also [Language Injections](#injection_type).  |
|  ![the Import button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.actions.install.svg)  | Import injection entries from another IntelliJ IDEA installation:       1. In the dialog that opens, select the `IntelliLang.xml` file to import the info from.      As a result, a dialog opens that shows the entries contained in the selected configuration file.      2. Remove the entries that you do not want to import using the Delete button. (This does not affect the contents of the source configuration file.)                               This selective import feature makes it easy to share certain configurations in a team without losing any local entries as it happens when the settings are imported via the core [Importing Settings](sharing-your-ide-settings.html#import-export-settings)  feature.     |
|  ![the Export button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.export.svg)  |    Export the selected injection entries to a file. In the Export Selected Injections to File dialog that opens:       * To add the entries to an existing file, select the destination file.    * To save the entries in a new file, specify the file name and choose the file type from the list.    |

## How it works

* [Language and reference injections](using-language-injections.html)

## See also

### Procedures

[Language and reference injections](using-language-injections.html)

