Language Injection Settings dialog: JS Tagged Literal Injection
File | Settings | Editor | Language Injection - JS Tagged Literal Injection for Windows and Linux
WebStorm | Settings | Editor | Language Injection - JS Tagged Literal Injection for macOS
CtrlAlt0S
The dialog opens when you click and choose JS Tagged Literal Injection from the context menu, or select an entry and click
.
WebStorm comes with a set of predefined injection configurations which is quite sufficient to ensure high productivity and comfortable environment. Therefore, it is strongly recommended that you use the predefined injection configurations and avoid creating new ones.
Item | Description |
---|---|
Name | The name of the injection. |
Language | The language to be injected.
The prefix and suffix are optional. |
Template tag | In this field, specify one or several functions through which you want a template literal to be parsed. Use dots as separators. Learn more from Tagged Templates. |
Advanced | In this area, specify additional settings to narrow the context where the injection is applicable and thus to enable more fine-grained control over the injection process.
|
Thanks for your feedback!