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

How to disable multiline for class atrributes? #29

Closed
CRIMSON-CORP opened this issue Sep 21, 2023 · 6 comments
Closed

How to disable multiline for class atrributes? #29

CRIMSON-CORP opened this issue Sep 21, 2023 · 6 comments

Comments

@CRIMSON-CORP
Copy link

image
I really like this formatter, but its kind of a pain for me when class names are broken into their own lines, especially tailwind css classes as in the picture, is there a way to disable and enable this feature

such that classes are aligned like this?
image

@CRIMSON-CORP CRIMSON-CORP closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2023
@corepilotcloud
Copy link

@CRIMSON-CORP did you figure out how to fix this?

@CRIMSON-CORP
Copy link
Author

@CRIMSON-CORP did you figure out how to fix this?

No, i went to use another formatter, i didn't see anyone having my issue in all the list of issues, i thought that was the way the package was, so i discarded it

I think I'll reopen the issue

@CRIMSON-CORP CRIMSON-CORP reopened this Sep 23, 2023
@elia
Copy link
Member

elia commented Oct 25, 2023

@corepilotcloud @CRIMSON-CORP I'm working on taking the list of TW classes from somewhere in the right order, but maybe in the meantime I'll just add an option to keep multiple classes on the same line until we reach the max line width boundary, would that help?

@CRIMSON-CORP
Copy link
Author

Yes that would be awesome 🔥, well done ✅

@sharkby7e
Copy link

i would love for this to not happen as well! appreciate it!

@elia
Copy link
Member

elia commented Dec 1, 2023

Finally fixed in #33! I'm about to publish a new minor 🙌

@elia elia closed this as completed Dec 1, 2023
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

No branches or pull requests

3 participants