Extend SQL syntax to strings that are concatenated


In Goland, when creating a bigger SQL string, some people use `+` to concatenate multiple strings so they can be split in to multiple rows. An example:

query := "SELECT *" +
"FROM myTable"

Goland will recognise the first string as SQL, but not any of the following strings. Can we get recognition of all the other constant strings as SQL?

Official comment

Feel free to follow GO-5088.

Thanks Daniil,

I tried looking for it but wasn't able to guess the search. Added my upvote there :)


Please sign in to leave a comment.