Aligning Assignments
I understand this is not the typical swift format and majority of the code in the wild (at least on GitHub/GitLab) don't align assignments. That said, this is my preferred style because it improves readability.
Therefore, I would like to know if SwiftFormat can align assignments, as in the following example:
func buildDeathStar() -> DeathStar
{
let capacity = 25_000
let isIndistructable = false
let hasOnlyOneWeakPoint = true
...
}
+1
+2
+3
+4
+5
translatesAutoresizingMaskIntoConstraints = false
text = "My Text"
isEnabled = true
I really don't get how people think this improves readability. Is it beautiful aesthetically? Yes. As almost all symmetrical things. Does it make you read faster? I don't think so.