Open KevinDoremy opened 8 months ago
Initial Swift code:
Text("") .padding(EdgeInsets(top: 0, leading: 0, bottom: 0, trailing: 0) )
Expected result using swiftformat file.swift --wraparguments after-first:
swiftformat file.swift --wraparguments after-first
Actual result using swiftformat file.swift --wraparguments after-first:
To get the expected result, we need to use the following commands before-first and after-first the swiftformat command:
swiftformat file.swift --wraparguments before-first
Text("") .padding(EdgeInsets( top: 0, leading: 0, bottom: 0, trailing: 0 )
then swiftformat file.swift --wraparguments after-first
I think it would be great to have a command that would allow us to do this in one command
Initial Swift code:
Expected result using
swiftformat file.swift --wraparguments after-first
:Actual result using
swiftformat file.swift --wraparguments after-first
:To get the expected result, we need to use the following commands before-first and after-first the swiftformat command:
swiftformat file.swift --wraparguments before-first
then swiftformat file.swift --wraparguments after-first
I think it would be great to have a command that would allow us to do this in one command