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

Summary: Add 'wrap string' option
Product: java Reporter: Max Sauer <msauer>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

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