Thursday, September 23, 2010

Eclipse: escape strings when pasting - off by default?

After a couple of years of occasionally having to paste a large multi-line string into Java source code and escape the hell out of it, I eventually searched for some kind of online tool to automatically do the job and quickly discovered that Eclipse automatically does this for you if a certain menu option is enabled (prefs->Java->Editor->Typing->"Escape text when pasting into a string literal").

So why on earth is this feature not enabled in Eclipse by default?

No comments:

Post a Comment