Injection entries
The list shows all injections currently available in PhpStorm.
| Item | Description |
|---|---|
| Enabled status | To enable or disable an injection, select or clear the check box.
You can also enable or disable a number of injections at once.
To do that, select the required injections in the list and click
Enable Selected Injections |
| Display Name | This read-only field shows the name of the injection and the library that implements it. |
| Language | This read-only field shows the language of the injection. |
| Type | PhpStorm distinguished between the following types of injections:
The bundled type is for the pre-defined injections. When a new injection is added,
it gets global type by default. The injection type can be toggled to project by clicking
|
Use the toolbar buttons to manage the contents of the list.
Toolbar
| Item | Tooltip and Shortcut | Description |
|---|---|---|
|
Add InsertInsert |
Click this button to create a new entry. From the pop-up list that opens
select the new entry type:
Configure the entry in the Language Injection Settings dialog that opens. |
|
Remove DeleteDelete | Click this button to have the selected entry removed from the list. |
| Duplicate | Click this button to have PhpStorm create a copy of the selected injection entry. By re-configuring this copy you can create a new injection based on the existing one. |
|
Edit EnterEnter | Click this button to re-configure the selected entry in the Language Injection Settings dialog box that opens. |
| Enable Selected Injections | Click this button to enable the injections that are currently selected in the list. |
|
| Disable Selected Injections | Click this button to disable the injections that are currently selected in the list. |
|
|
Move to Project/ Make Global Shift+SpaceShift Space |
Use this button to toggle between the project and global states of the selected injection configurations.
|
| Export |
Click this button to have one or several selected injection configurations saved in a file. Upon clicking this button,
the Export Selected Injections to File dialog box opens.
|
|
| Import | Click this button to have an injection configuration from another PhpStorm installation imported.
The Select Path dialog opens, where you can
select the IntelliLang.xml file from the desired location.
The dialog box that opens displays the entries contained in the configuration file.
Remove the unnecessary entries from the list using the Delete button.
Note This will not affect the contents of the configuration file. Tip This selective import-feature makes it easy to share certain configurations in a team without losing any local entries as it happens when settings are imported via the core Importing Settings feature. Warning To prevent inconsistent data, import is only possible if the existing configuration has not been changed or has been saved using the Apply button. |


or
