[solved] How to stop Phpstorm inserting curly braces in blade templates?
Hi,
I have an annoying issue with PhpStorm. When editing blade templates (*.blade.php) if I type
<label for="selectStaffType" class=
PhpStorm will insert curly braces like so:
<label for="selectStaffType" class={}
This is incredibly annoying because I NEVER need curly braces around HTML attributes. How do I turn off this feature?
I have tried completely deleting my config folder, but the behaviour persists.
请先登录再写评论。
Hi there,
1) What JavaScript language version you have set in settings?
2) https://blog.jetbrains.com/webstorm/2017/12/webstorm-2017-3-1/ -- "Configurable code completion for JSX attributes" section ?
Thank you very much, that fixed my issue. I think I mistakenly accepted a suggested change to JSX when I started using .vue files.