Window->Preferences->Java->Editor->Typing The last check box is "Escape text when pasting into a String literal". Check that. Now when you paste when your cursor is between quotation marks it'll be escaped.
If you want to cut and paste some code AS-IS in java.
No comments:
Post a Comment