kh-bd / interp4j-intellij-plugin

Intellij plugin to support interp4j library
3 stars 1 forks source link

String format replace action does not work correctly if expression contains string literals with double qoutes. #29

Open KhadanovichSergey opened 5 months ago

KhadanovichSergey commented 5 months ago

if expression contains string literals, it's necessary to add backslash before each " symbol, to remain expression correct.

For example, String.format("%s", list.stream().join(", ")) must be transformed into s("${list.stream().join(\", \")}").