Skip to content

Add commands that refactor class attributes in blade files #432

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

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

Conversation

N1ebieski
Copy link
Contributor

@N1ebieski N1ebieski commented Aug 6, 2025

This PR adds commands that refactor a selected or all class attributes to the directives.

The "selected" command is available by default through keyboard shortcut: SHIFT+ALT+C. This command is useful if you want to add a condition for some classes.

ezgif-780dfa5e554837

Both commands are available from the context menu:

obraz

and from the command palette:

obraz

I was inspired by a feature from Laravel Idea plugin for PHPStorm.

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