Use this page to manage the list of available language injections and to configure the language injection feature for text, attributes, and parameters.
To sort the information, use the cells in the header row (Name, Language and Scope). To perform other tasks, use the check boxes and the toolbar icons.
In this section:
Before you start working with language injections, make sure that IntelliLang plugin is enabled. The plugin is bundled with WebStorm and activated by default. If it is not, enable the plugin as described in the section Enabling and Disabling Plugins.
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.
|Item||Tooltip and Shortcut||Description|
|Use this icon or shortcut to create a new entry. Select the target category from the list and then specify the settings in the dialog that opens.|
|Use this icon or shortcut to remove the selected entries from the list.|
|Click this icon to re-configure the selected entry in the Language Injection Settings dialog box that opens.|
|Duplicate||Use this icon to create a copy of the selected injection entry. Edit the copy as necessary.|
|Enable Selected Injections||Click this icon to enable the injections that are currently selected in the list.|
|Disable Selected Injections||Click this icon to disable the injections that are currently selected in the list.|
Move to Project/IDE Scope|
|Use this icon or shortcut to move the selected injections between the IDE and the project levels. See also, Scope.|
|Import||Click this button to have an injection configuration from another WebStorm installation imported.
The Select Path dialog opens, where you can
select the |
This will not affect the contents of the 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 settings are imported via the core Importing Settings feature.
|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.|