For the Language Injections page to be available, the IntelliLang plugin must be enabled. (This plugin is bundled with the IDE and enabled by default.)
Use this page to manage the list of available language injections and configure the language injection feature for text, attributes, and parameters.
You can sort the information by any of the columns by clicking the cells in the header row. The current sorting status is shown by the corresponding sorting marker: for the ascending order or for the descending order.
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 or 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.|
One of the following:
You can move the user-defined injections between the IDE and the project levels by using the toolbar.
|Create a new injection entry. Select the injection category and then specify the injection settings in the dialog that opens.|
|Remove the selected entries from the list.|
Edit the settings for the selected injection.
IMPORTANT: Don't edit the settings for built-in injections.
|Create a copy of the selected injection entry. Then edit the settings for that copy as necessary.|
|Enable all the injections currently selected in the list.|
|Disable all the injections currently selected in the list.|
|Move the selected injections between the IDE and the project levels. See also Scope.|
Import injection entries from another PhpStorm installation:
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 feature.
Export the selected injection entries to a file. In the Export Selected Injections to File dialog that opens: