Copy string auto-escape etc bug


If i copy a string from outside into intellij and first place a " the string is auto escaped etc. This works great, but if there is a " at the end of my string and it gets escaped to \" and there is no closing " (i deleted it), if I insert it intellij thinks it is a starting " instead of a closing " so there is 1 " to much.

String s = "my escaped \"string\"_"_"

After pasting the closing tag is ok, if removed(now at the first _) and again inserted it it also inserts the second one(after the second _).

Only happens if i remove the closing " and the last " is an escaped one.

Please sign in to leave a comment.