Files
openide/java/java-tests/testData/codeInsight/concatenationToMessageFormat/textblock.java
Bas Leijdekkers 9cfda82b22 Java: correctly escape for text block (IDEA-331523)
in Replace concatenation with formatted output" intention"

GitOrigin-RevId: b3e57b2cc62bbbcdca3fe357d8a6896837ca3f73
2023-09-05 11:15:51 +00:00

11 lines
179 B
Java

class C {
void x(int a, int b) {
String s = """
the text \n block
\\line2
""" +
a + b + <caret>//keep me
" \"to\" be";
}
}