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

SwiftUI code format question #523

Open
hapton opened this issue May 2, 2023 · 2 comments
Open

SwiftUI code format question #523

hapton opened this issue May 2, 2023 · 2 comments

Comments

@hapton
Copy link

hapton commented May 2, 2023

How can we make swift-Format formatting
Text("ssssssssssss").background(Color(hex: 0x333333)).font(Font.caption).padding(.horizontal, 8).padding(.trailing, 8)
to
Text("ssssssssssss")
.background(Color(hex: 0x333333))
.font(Font.caption)
.padding(.horizontal, 8)
.padding(.trailing, 8)
This is swiftUI code.Code wrapping looks clearer.Thanks.

@kkebo
Copy link

kkebo commented Jun 23, 2023

This issue is related to #543.

@ahoppen
Copy link
Contributor

ahoppen commented Apr 23, 2024

Tracked in Apple’s issue tracker as rdar://126948340

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