Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Laravel volt #775

Closed
robsontenorio opened this issue Sep 19, 2023 · 2 comments
Closed

[Feature]: Laravel volt #775

robsontenorio opened this issue Sep 19, 2023 · 2 comments
Assignees
Labels
Stale Stale label

Comments

@robsontenorio
Copy link

robsontenorio commented Sep 19, 2023

Description

Is there any workaround to deal with Laravel Volt file?

Indeed it formats correctly <?php .... ?> and html sections. But I loose autocomplete features on <?php ... ?> section

I am also using PHP INTELEPHENSE.

?php
 
use Livewire\Volt\Component;
 
new class extends Component {
    public $count = 0;
 
    public function increment()
    {
        $this->count++;
    }
} ?>
 
<div>
    <h1>{{ $count }}</h1>
    <button wire:click="increment">+</button>
</div>

Suggested Solution

Allow <?php ... ?> section be handled by another extension like PHP INTELEPHENSE.

Alternatives

No response

Additional Context

No response

Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale Stale label label Nov 19, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
@shufo
Copy link
Owner

shufo commented Dec 31, 2023

That behaviour does not seems to be related to this extension because this extension only offers formatting feature.
I think the problem is in php intelphense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale label
Projects
None yet
Development

No branches or pull requests

2 participants