Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349490

Summary: [details] Ship with default detail formatters
Product: [Eclipse Project] JDT Reporter: DJ Houghton <dj.houghton>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: Michael_Rennie
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description DJ Houghton CLA 2011-06-15 14:49:37 EDT
One of the first thing I do in a debug session on a new workspace is set up a bunch of detail formatters. It would be cool if we could ship with some helpful ones. Even if they were disabled by default, it would still be useful.

Specifically I am thinking of Map. Something like this:

StringBuffer buffer = new StringBuffer();
buffer.append("{\n");
for (Iterator iter = this.keySet().iterator(); iter.hasNext(); ) {
	Object key = iter.next();
	Object value = this.get(key);
	buffer.append(key + "'=" + value + "\n");
}
buffer.append("}");
return buffer.toString();