This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 7.3 (Build 201302132200) Operating System = Linux version 3.2.0-40-generic running on amd64 Java; VM; Vendor = 1.7.0_10 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04 I frequently paste SQL queries from an external source into a Java string constant (between pairs of double quotes). The paste function includes the new lines in the original text as escaped Java new line characters (\n). While this is technically correct, it makes the resulting String constant in Java messier than it needs to be, since the new lines in the pasted text are also represented by new lines in the Java source code. I would like to see an option that can be set to ignore the new lines in pasted Strings, or a different command for that kind of paste, so that I can use a different shortcut key for that type of paste.
Or perhaps instead of ignoring the newline, an option to change it to a space.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss