Community
Participate
Working Groups
The Gerrit configuration specifies patterns for links in comments that should hyperlinked in the task editor, e.g.: "commentLinks":[ {"find":"(I[0-9a-f]{8,40})","replace":"\u003ca href\u003d\"#q,$1,n,z\"\u003e$\u0026\u003c/a\u003e"}, {"find":"([Bb]ug:?\\s*#?)(\\d+)","replace":"$1\u003ca href\u003d\"https://bugs.eclipse.org/bugs/show_bug.cgi?id\u003d$2\"\u003e$2\u003c/a\u003e"} ]
The code review with a work in progress change is here: http://review.mylyn.org/#change,114
The configured link patterns should now be detected and hyperlinked with the limitation that there is no support for rendering the hyperlink instead of the actual text. This means if a replacement pattern such as ([Tt]ask:\\s+)(\\d+) --> <a href=\"http://tracker.mylyn.org/$2\">$2</a> is specified Task 123 would render as Task 123 instead of 123 and the entire matched pattern would be hyperlinked.
Created attachment 210542 [details] mylyn/context/zip
Created attachment 210943 [details] screenshot