I am trying to paste a very long string in eclipse like:
String str = "verrrrrrrrry long string that hass 9000 characters";
I want it to appear as
String str = "verrrrrrrrry long"+
"string that hass "+
"9000 characters";
I tried the option mentioned here : Paste a multi-line Java String in Eclipse , but that gives me a bunch of new lines inserted in the string which I dont want.
What I am getting currently is a long string that just wraps over itself on the same line.
Any pointers ?