Why In PhpStorm 2017.2.4 syntax of envoy files is not supported ? Follow
Hello,
In PhpStorm 2017.2.4 syntax of envoy files is not supported
https://imgur.com/a/J8etRux
though that is actually blade file, and for rest of my blade files syntax is supported ok...
Thanks!
Please sign in to leave a comment.
Try creating new blade file with a random name (e.g. qwerty.blade.php) and check if the syntax is correct there.
Also please update to 2017.2.7.
Looking at your screenshot, I could see a directive that is not in the default list: @setup
You may want to add custom directives in "Languages & Frameworks | PHP | Blade > Directives" menu window.
What is about the other part of the code, it seems to be that Envoy syntax is not a 100% the same as Blade, so it is not highlighted. You may check that Blade highlighting is working in general for this file by adding some known directives (like @if or @php).
Also, you may submit a feature request for the Envoy files support:
https://youtrack.jetbrains.com/newIssue
Blade syntax is supported ok for all my blade.php files.
Whos works with envoy? Do you use phpstorm or some other editors?