News for hackers. Stuff that matters.
Re:Raw String Literals Removed From Java 12 as Feature Set F... by stickfigure on Saturday December 22, 2018 @12:15PM (#18741427)
IntelliJ is aware of SQL in text strings, and even validates it against the database schema.

I like my SQL right next to the code that sets parameters, processes results, etc - mismatches are apparent (and also validated by IntelliJ).

Re:Raw String Literals Removed From Java 12 as Feature Set F... by orf on Saturday December 22, 2018 @12:56PM (#18741639)
Not just SQL, but any language. It's one of my favourite (and IMO very under-appreciated) features of the Jetbrains editors.
Re:Raw String Literals Removed From Java 12 as Feature Set F... by halfastack on Saturday December 22, 2018 @01:44PM (#18741866)
Intellij also automatically escapes your string and inputs newlines wherever necessary, so if you copy a long string, it's generally done for you (I've copied pieces of XML and it generally worked totally fine).