Bug 349490 - [details] Ship with default detail formatters
Summary: [details] Ship with default detail formatters
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 14:49 EDT by DJ Houghton CLA
Modified: 2011-06-15 16:37 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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();