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 parser for blade component attributes #13

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

Conversation

N1ebieski
Copy link

@N1ebieski N1ebieski commented Mar 13, 2025

This PR adds support for parser for blade component attributes. Every attribute with a function supported by the extension has a link to the target file.

Before:

before

After:

after

Works with and without blade prefix/suffix statements.

Unfortunately, the value is not shown in the hover. It is related to this code snippet > https://github.com/laravel/vs-code-extension/blob/main/src/support/parser.ts#L312-L316

Blade component attributes have differently calculated hover positions. I don't know how to fix this :/

I found a solution > laravel/vs-code-extension#344

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