Bug 272757 - Markup specific to bugs.eclipse.org: -- Error Details --
Summary: Markup specific to bugs.eclipse.org: -- Error Details --
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.1.0   Edit
Assignee: David Green CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2009-04-17 16:30 EDT by David Green CLA
Modified: 2011-01-06 10:01 EST (History)
2 users (show)

See Also:


Attachments
patch that adds blocks for error details and Java stack traces (6.90 KB, patch)
2009-05-01 21:05 EDT, David Green CLA
no flags Details | Diff
mylyn/context/zip (2.63 KB, application/octet-stream)
2009-05-01 21:05 EDT, David Green CLA
no flags Details
mylyn/context/zip (53.69 KB, application/octet-stream)
2009-05-04 15:52 EDT, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Green CLA 2009-04-17 16:30:18 EDT
Some markup is common to see in bugs that are filed in bugs.eclipse.org, possibly due to submission by Mylyn.  One such kind of markup is -- Error Details --.
WikiText should detect -- Error Details -- and create a preformatted block for it and everything that follows.  See bug 272562 for an example.
Comment 1 David Green CLA 2009-05-01 21:05:13 EDT
Created attachment 134139 [details]
patch that adds blocks for error details and Java stack traces
Comment 2 David Green CLA 2009-05-01 21:05:14 EDT
Created attachment 134140 [details]
mylyn/context/zip
Comment 3 David Green CLA 2009-05-01 21:07:39 EDT
Steffen can you try running with the attached patch?  It causes Java stack traces and -- Error Details -- sections to become preformatted.
I'd like to get your opinion on the following:

* do you like having these things preformatted (see bug 272562 both description and comment #6 for examples)
* do you think that these things should have preferences to turn them on/off
** if so should they be enabled by default

Thanks!
Comment 4 Steffen Pingel CLA 2009-05-01 21:42:00 EDT
I have applied it to my boostrap workspace, I'll let you know how it goes.
Comment 5 David Green CLA 2009-05-02 22:54:30 EDT
(In reply to comment #4)
> I have applied it to my boostrap workspace, I'll let you know how it goes.

Great.  I'm thinking that  monospace font is good, but the blue font should go in favor of black.  Thoughts?
Comment 6 Steffen Pingel CLA 2009-05-04 14:38:10 EDT
Looks good to me. We try to avoid preferences as much as possible so I wouldn't bother unless there are bad side-effects.

> Great.  I'm thinking that  monospace font is good, but the blue font should go
> in favor of black.  Thoughts?

Hmm, I am not sure if I am seeing this right on my system. The block seems to use the standard black font. Anything I need to configure?
Comment 7 Steffen Pingel CLA 2009-05-04 14:43:34 EDT
Okay, I am seeing the coloring now. I am in favor of the standard black font for pre-formatted blocks. I have changed that in my preferences since I generally found the blue color to bright.
Comment 8 David Green CLA 2009-05-04 14:46:42 EDT
Thanks for taking a look.

(In reply to comment #7)
> Okay, I am seeing the coloring now. I am in favor of the standard black font for
> pre-formatted blocks.

For pre-formatted blocks in general, or just stack traces and -- Error Details --?

Comment 9 Steffen Pingel CLA 2009-05-04 15:40:49 EDT
I have disabled the coloring for all pre-formatted blocks since the font makes them stand out sufficiently for me.
Comment 10 David Green CLA 2009-05-04 15:52:35 EDT
Fixed.  Preformatted section color is now black by default.
Comment 11 David Green CLA 2009-05-04 15:52:37 EDT
Created attachment 134298 [details]
mylyn/context/zip
Comment 12 Steffen Pingel CLA 2009-05-13 22:12:54 EDT
Marking as noteworthy. The formatting of stack traces is really great!
Comment 13 David Green CLA 2009-05-13 23:38:08 EDT
(In reply to comment #12)
> Marking as noteworthy. The formatting of stack traces is really great!

Awesome... glad you like it!