Eclipse Tip: Escape text when pasting | Vasanth Dharmaraj's Blog
Luckily Eclipse has a simple solution for this. Go to Window>Preference>Java>Editor>Typingand check the “Escape text when pasting into a string literal“. Now when you paste the same text here is what you get:
Read full article from Eclipse Tip: Escape text when pasting | Vasanth Dharmaraj's Blog
When you paste some text in to a string have you seen this?
The problem is that the string is not escaped. This gives you a error. Fixing this is not easy if you have pasted text that needs a lot of escaping. I have encountered this a few times. It is annoying.
Read full article from Eclipse Tip: Escape text when pasting | Vasanth Dharmaraj's Blog
No comments:
Post a Comment