[Feature Request]: Cannot Ctrl + Click on Custom livewire component
Feature Description
https://stackoverflow.com/questions/74258656/phpstorm-does-not-recognize-livewire-custom-component
modules-livewire.php
'custom_modules' => [
'Blog' => [
'path' => base_path('modules/Blog/src'),
'module_namespace' => 'Lazudi\\Blog',
'namespace' => 'Livewire',
'view' => 'Resources/views/livewire',
'name_lower' => 'blog',
],
],
MainArticle.php
namespace Lazudi\Blog\Livewire\Share;
use Livewire\Component;
class MainArticle extends Component
{
...
}
something.blade
<livewire:blog::share.main-article />
Problem
I cannot Ctrl + Click on <livewire:blog::share.main-article /> to open the file MainArticle.php
Goal
Able to Ctrl + Click on every livewie components for example <livewire:blog::share.main-article />
Laravel Idea doesn't run PHP code, so it can't find all Livewire components. It tries to find and analyze Livewire::component(...); calls, however if they look like Livewire::component($alias, $class); - this probably could not be "parsed".
We are working on ide.json files where you will be able to register these paths and Laravel Idea will fetch these components, but it's still not ready.
Copying Basti007's issue here, since it is the same.
Hi, there is already a support implemented for the nwidart Modules. If I want to use Livewire with the modules, I need to use an additional package https://github.com/mhmiton/laravel-modules-livewire.
Using this package, I have no auto completion in my blade files. Example: I write <livewire: and it should show livewire:basic::setup.stepper but nothing appears in the list.
@adelf hello, where can we expect support for this?