livewire / volt

Volt is an elegantly crafted functional API for Livewire.
https://livewire.laravel.com/docs/volt
MIT License
331 stars 19 forks source link

Auto import and suggestion is not working #113

Closed Uhasith closed 1 month ago

Uhasith commented 1 month ago

Volt Version

1.6.5

Laravel Version

11.19.0

PHP Version

8.2

Database Driver & Version

MYSQL for macos (Homebrew)

Description

When working with Livewire Volt class components, developers may encounter an issue where the auto-import and suggestion features in their IDE are not functioning as expected. This problem can manifest as the IDE failing to automatically import necessary classes or provide code suggestions, which can significantly hinder the development workflow. The issue might arise due to several reasons, including misconfiguration of the IDE, missing or outdated extensions for Livewire and Volt support, incorrect namespace declarations, or compatibility issues with the installed versions of Livewire and Volt. Additionally, caching problems within the IDE or insufficient permissions may also contribute to the malfunctioning of these features. This lack of functionality can disrupt the coding process, making it challenging to ensure proper code structure and adherence to best practices without manual intervention.

Steps To Reproduce

Just create a new class component using Livewire Volt

driesvints commented 1 month ago

This doesn't seems like a real bug but rather lack of support for an IDE.