plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request]: Livewire 3 Support

Open rahatsagor opened this issue 2 years ago • 12 comments

Feature Description

On July 20th, Laravel-Livewire version 3 was launched, but it seems that the current version of laravel-idea is not compatible with it. Unfortunately, it is not functioning properly with Livewire V3. We request an update that supports Livewire v3 be released as soon as possible.

rahatsagor avatar Jul 24 '23 02:07 rahatsagor

The only thing which appears to need correcting is that Livewire3 defaults to "app/Livewire" rather than "app/Http/Livewire" - I haven't found any other issues and I've been using the beta with Laravel Idea - when they generate in the wrong location I've been removing them and running composer dump

alexcutts avatar Jul 31 '23 15:07 alexcutts

The only thing which appears to need correcting is that Livewire3 defaults to "app/Livewire" rather than "app/Http/Livewire" - I haven't found any other issues and I've been using the beta with Laravel Idea - when they generate in the wrong location I've been removing them and running composer dump

If you're using it just to create Livewire Components, then it's okay. But we're talking about all those new stuff of Livewire 3, like the new wire:navigate syntax, Rule attribute auto-completion, etc.

rahatsagor avatar Aug 02 '23 15:08 rahatsagor

Quick update: I've installed 3.0 version and playing with it. The default namespace already changed. Working on other new stuff.

I understand that you want Livewire3 support in Laravel Idea even before the official release, but it's impossible. Sorry)

adelf avatar Aug 02 '23 15:08 adelf

But we're talking about all those new stuff of Livewire 3, like the new wire:navigate syntax, Rule attribute auto-completion, etc.

This is added. I'm working on Volt support now. If someone wants to add some features which should be added/changed according to Livewire 3, welcome.

adelf avatar Aug 08 '23 07:08 adelf

But we're talking about all those new stuff of Livewire 3, like the new wire:navigate syntax, Rule attribute auto-completion, etc.

This is added. I'm working on Volt support now. If someone wants to add some features which should be added/changed according to Livewire 3, welcome.

Thanks for the hard work! Please add support for computed properties. Currently, it's not recognized in the view files.

rahatsagor avatar Aug 08 '23 16:08 rahatsagor

i am on the latest version (7.2.0.232) but i don't get auto-completion for rules in livewire

image

sohailahmad07 avatar Aug 13 '23 13:08 sohailahmad07

i am on the latest version (7.2.0.232) but i don't get auto-completion for rules in livewire

image

This particular version was released on July 17th, prior to the introduction of Livewire 3.

rahatsagor avatar Aug 13 '23 13:08 rahatsagor

ok so when will the new version be released

sohailahmad07 avatar Aug 13 '23 13:08 sohailahmad07

One thing I noticed is that if you are using LiveWire3 the LiveWire 2 folder structure (app/Http/LiveWire), the code completion for components doesn't work in Blade templates. When I type <livewire:[component-name] it's not recognized by the IDE. Did anyone else run into this?

Update: The issue was solved once I moved all the LiveWire classed to app/Livewire

sanderdewijs avatar Sep 15 '23 10:09 sanderdewijs

@adelf maybe you can add an config option to define the namespace (app/Livewire or app/Http/Livewire)?

nuernbergerA avatar Dec 19 '23 05:12 nuernbergerA