Escape string java eclipse editor

Go to Window>Preference>Java>Editor>Typing and check the "Escape text when pasting into a string literal". Now if you copy paste a string that contains " for example it will be automatically escaped in eclipse to \"


http://www.vasanth.in/2009/03/10/eclipse-tip-escape-text-when-pasting/


-----------

http://intellignet.blogspot.com

Comments