Does someone know how to configure PhpStorm with the new L7 blade tags?
Hello,
Does anyone know how to configure PhpStorm to understand/accept the new L7 blade tags? Currently it does not like that I have tags it does not know about or that I don't close them, which breaks the autocomplete and reformating for the rest of the blade file.
I started using them now after I started looking at Livewire.
you can configure custom blade-directives in PHP-Storm like so:
go to settings -> Language & Frameworks -> PHP -> Blade
uncheck the "Use default settings" checkbox
click on Directives
with the "+" at the right, you can add new directives
But I guess that the new blade-tags will be in the default Blade-plugin sooner or later, so it depends, if you want to add them manually to PHP-Storm or just wait some time.
Does not support the new tags, only @ tags.
I found this plugin as the laravel plugin for phpstorm hasn't updated since may 2019. https://plugins.jetbrains.com/plugin/13441-laravel-idea (it's a paid plugin tho) but it does not add any support for this.
I am using livewire. PHPStorm is throwing warnings when used @livewire or <livewire-comp>..</..> or livewire methods in HTML like wire:init="..". How do I fix this ?