| Summary: | [details] Ship with default detail formatters | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | DJ Houghton <dj.houghton> |
| Component: | Debug | Assignee: | 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: | |||
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();