Open aguingand opened 2 years ago
In Jigsaw you can use components by using the Components\ namespace (docs) but I found no way the configure this in laravel idea.
Components\
If I set Components in the "Blade components classes namespace(inside App)", the namespace is not discovered (due to the "inside App" thing I guess)
Components
Prevent using App\ root if the namespace is defined inside composer.json autoload "psr-4" section.
App\
Add "classNamespace" options in the schema, e.g:
"classNamespace"
"blade": { "components": { "viewPaths": [ { "path": "source/_components", "classNamespace": "Components", } ] } }
I think the ide.json proposal is better because it's more flexible.
Hi. You can't setup Laravel Idea to correctly create components now. I'll try to add something. Thanks for posting.
Feature Description
In Jigsaw you can use components by using the
Components\
namespace (docs) but I found no way the configure this in laravel idea.If I set
Components
in the "Blade components classes namespace(inside App)", the namespace is not discovered (due to the "inside App" thing I guess)Proposals
Using the settings
Prevent using
App\
root if the namespace is defined inside composer.json autoload "psr-4" section.Using ide.json
Add
"classNamespace"
options in the schema, e.g:I think the ide.json proposal is better because it's more flexible.