for Windows and Linux
This page is available only when the PHP and Blade plugins are installed and enabled. The plugins are activated by default. If the plugins are disabled, enable them on the Plugins page as described in Manage plugins.
Text Tags Tab
In this tab, specify the delimiters to use in Blade templates. According to these settings, PhpStorm recognizes templates and provides error highlighting and code completion for them.
The fields are filled in with the default values in compliance with Blade Templates 5.8. If you are using an earlier version, you can specify the relevant custom delimiters and PhpStorm will provide coding assistance according to the new rules.
In this tab, manage Blade directives for use in PhpStorm. The tab lists all the currently available Blade directives, for those that have parameters, the prefixes and suffixes are also shown. When you start, the list contains only predefined directives. You can edit these directives as well as create custom ones.
|Directives|| The tab lists all the currently available Blade directives, for those that have parameters, the prefixes and suffixes are also shown. When you start, the list contains only predefined directives. You can edit these directives as well as create custom ones. |
|Name||In this field, specify the name of a new directive or edit the name of the selected one.|
Select this checkbox to specify a prefix and a suffix for a new directive or for the one selected in the list. When the checkbox is selected, the Prefix and Suffix fields are available for editing. Specify the required directive parameters.
If the new directives requires a prefix and a suffix, select the Has parameter checkbox and type the prefix and suffix to use in the Prefix and Suffix fields respectively. PhpStorm will automatically enclose the prefix and suffix in opening and closing brackets and quotes and add a colon separator