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

Support for autocompletion model attributes and relations in blade files #353

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

N1ebieski
Copy link
Contributor

This PR adds support for autocompletion model attributes and relations in blade files.

It works identically to #334, tries to find a model by variable's name using Name, name, camelName and snake_name.

Works with chaining with relations:

autocompletion2

Works with another functions:

autocompletion3

autocompletion4

Depends on laravel/vs-code-php-parser-cli#17 and currently is highly experimental so needs much more testing.

@N1ebieski N1ebieski marked this pull request as ready for review March 30, 2025 12:59
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