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.

Bug 106816 - Add 'wrap string' option
Summary: Add 'wrap string' option
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 14:40 UTC by Max Sauer
Modified: 2007-06-18 14:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-06-15 14:40:38 UTC
It would be nice to have some 'Wrap Multiline Strings' option inside Tools|Options|Java Code|Formatting|Wrapping.
Currently, the reformater puts my indented multiline strings (properly handeled by previous reformat version) to one
line, ie:

System.out.println("ID: " + r.getID() + "\n" +
		"pocet veci: " + r.getThingCount() + "\n" +
		"kapacita instance batohu: " + r.getCapacity() + "\n"
		);

is put back to one line. I haven't found out how to set this up.

---
Product Version: NetBeans IDE Dev (Build 070615) 
Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 
System: Linux version 2.6.12-1.1390_FC4smp running on i386; 
UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev