I am writing a test with very long strings, and I need to split those strings:
private static final String TOO_LONG_JSON = \"{field1:field1, field2:field2 ... fi
I had to paste a long SQL String for a native query in my application. I think the real solution is to put your cursor inside the "" marks of this line of code typed manually: " " +
When you paste the LONG STRING of text inside the quotation marks, IntelliJ will format each line of code also with \t and \n inside, for you.