Language Injections
for Windows and Linux
for OS X
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 to configure the language injection feature for text, attributes, and parameters.
In this section:
- Language Injections
- Language Injection Settings dialog: XML Tag Injection
- Language Injection Settings dialog: XML Attribute Injection
- Language Injection Settings dialog: Generic JavaScript
- Language Injection Settings: Generic PHP
- Language Injection Settings dialog: Sql Type Injection
See also, Using Language Injections.
Injection entries
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.
Toolbar
Item | Description |
---|---|
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: |