Language Injection Settings dialog: Generic JavaScript
File | Settings | Editor | Language Injection - Generic JavaScript for Windows and Linux
WebStorm | Settings | Editor | Language Injection - Generic JavaScript for macOS
CtrlAlt0S
The dialog opens when you click and choose Generic JS 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. |
Places Pattern | In this field, type the rules that define the context where you want WebStorm recognize literals as injections.
|
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!