Language Injection Settings: Generic Smarty
File | Settings | Language Injection - Generic Smarty for Windows and Linux
PhpStorm | Settings | Language Injection - Generic Smarty for macOS
CtrlAlt0S
The dialog opens when you click in the Language Injection page, and choose Generic Smarty on the context menu, or select an entry and click
.
PhpStorm 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 PhpStorm 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!