SwiftFormat icon indicating copy to clipboard operation
SwiftFormat copied to clipboard

Formatting curly braces inside a string

Open ejohnsonw opened this issue 9 years ago • 5 comments

First of all, thanks for writing this utility. I am having an issue when I define something like this

Routing.Routes["GET", "/api/bGTeamInfo/{id}"] = { _ in return BGTeamInfoRetrieveHandler()}

The result is this:

Routing.Routes["GET", "/api/bGTeamInfo/{ id }"] = { _ in return BGTeamInfoRetrieveHandler() }

Desired result If curly braces are inside a string do not add new line.

ejohnsonw avatar Jan 24 '16 17:01 ejohnsonw

Hey! I have rewritten this whole project to a recusive analyzer of SourceKit, i will update soon. It's written in Swift, so won't update the python code anymore.

haaakon avatar Jan 29 '16 09:01 haaakon

Thank you appreciate!

ejohnsonw avatar Jan 29 '16 10:01 ejohnsonw

Ooh, i'm looking forward to this. Are you writing it in another repo? Is it public yet?

hatunike avatar Feb 05 '16 05:02 hatunike

Whats your take on:

SwiftFormat VS Atom + linter-swift?

eonist avatar Feb 04 '17 12:02 eonist

any news on new tool?

mehdok avatar Dec 01 '17 07:12 mehdok