| Summary: | [wikitext] implement a hyperlink detector specifically designed for Java. e.g. detecting org.eclipse.mylyn.internal.java.tasks.JavaClassHyperlinkDetector | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Jingwen 'Owen' Ou <jingweno> |
| Component: | Mylyn | Assignee: | Jingwen 'Owen' Ou <jingweno> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | greensopinion, steffen.pingel |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Jingwen 'Owen' Ou
Created attachment 105534 [details]
screenshot of stack traces in a same line
only the first stack trace appear as a hyperlink
Take a look at JavaStackTraceHyperlinkDetector. It might expect line breaks between the stack trace elements. Created attachment 105546 [details]
mylyn/context/zip
do we need to fix this or just leave it as it is: generating stack trace links with link breaks? If the use case here is bug 237831 have you considered implementing another hyperlink detector that detects links to files instead of reusing the stack trace detector (which was specifically designed for Java)? Created attachment 105561 [details]
a hyperlink detector specifically designed for Java
I am not sure where these classes should go. But JavaClassFileHyperlink relies on the org.eclipse.mylyn.java.tasks package, its better for them to go there.
Created attachment 105564 [details]
screenshot of the outcome of hyperlink detector
David, after applying my patch in this bug, the tooltips of the stack trace hyperlinks display a couple of *Unknow Hyperlink*. I think that is related to the bug you fixed. Could you please take a look at it? Created attachment 105570 [details]
all-in-one patch that fixed the tooltip problem
the problem is caused by a new multiple hyperlink detector introduced in 3.4
**this is the testing comment** if you can see the following hyperlink and can click to open a java file, congratulations, you did it! :) org.eclipse.mylyn.internal.java.tasks.JavaClassHyperlinkDetector **this is the testing comment** *** This bug has been marked as a duplicate of bug 239087 *** |