Mono-D
Mono-D copied to clipboard
indentation of multiline string literal concatenation
pasting/formatting the following code creates odd indentation, as shown here:
string sql = "select " ~
"p1.phrase as phrase1 " ~
", p2.phrase as phrase2 " ~
"from phrase as p1, phrase as p2, translation as t " ~
"where t.phrase1_id = p1.id and t.phrase2_id = p2.id";
shouldn't line 2 - 5 have all one and the same level of indentation like this:
string sql = "select " ~
"p1.phrase as phrase1 " ~
", p2.phrase as phrase2 " ~
"from phrase as p1, phrase as p2, translation as t " ~
"where t.phrase1_id = p1.id and t.phrase2_id = p2.id";