Skip to content

Conversation

@N1ebieski
Copy link
Contributor

@N1ebieski N1ebieski commented Apr 13, 2025

This PR adds component properties from the @props directive to the repository.

For example, the component:

component

And its properties in the hover:

hover

The feature works only if the nikic/php-parser is installed in the application. Otherwise, skips the property search.

If the spatie/fork is installed, then the search is performed in parallel (by Laravel Concurrency). Otherwise, the search is synchronous. BTW, I don't know if the performance will be enough with a large number of components :/ It needs more testing.

If PR is accepted, this feature will be available for use in attributes autocompletion #366

@N1ebieski N1ebieski marked this pull request as ready for review April 13, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant