|
|
Re: bug hyperlinking in source? [message #11005 is a reply to message #10978] |
Fri, 13 July 2007 06:41 |
Eclipse User |
|
|
|
Originally posted by: beatmik.acm.org
Maarten Meijer wrote:
> I know that the bug#xxx notation used in the rich client can be clicked
> for instant hyperlinking. But can Mylin also add this hyperlinking to
> the various text editors, so that a TODO comment that indicates the
> exact location for an edit can link directly to the Task using bug#xxx
> notation. This is not just for Java source but also XML etc.
>
> Every project would need an attached default bug repository, but
> overrides should be possible.
>
> It would mimic somehow the Mac old data detectors. Is this feasible?
Yup, as Alex points out you can already do this and it is enabled by
default for textual editors in the SDK (look for references to
"hyperlink" in http://www.eclipse.org/mylyn/new/). Note that this is an
Eclipse 3.3 feature only.
Mik
|
|
|
|
|
Re: bug hyperlinking in source? [message #14128 is a reply to message #12771] |
Tue, 17 July 2007 04:33 |
Eclipse User |
|
|
|
Originally posted by: beatmik.acm.org
Maarten Meijer wrote:
....
> Thanks for the pointer. Still there is something strange: after some
> edits I get the hyperlink with a command-hover.
> But when I search for bug# using text search and open the file, there is
> no hyperlink.
> Are the hyperlinks in some way restricted to 'in current context' or
> type of comment or excllusive with TODO task labels?
>
> FYI, I use comments such as:
> // TODO set step to arrive at a reasonable number of labels, bug#184
>
> I'll try and reproduce and come up with a repeatable test case.
Maarten, I just wrote a FAQ entry that could describe your problem
(missing association between project and task repository). Please take
a look and post if that does not resolve it:
http://wiki.eclipse.org/index.php/Mylyn_FAQ#Why_are_task_hyp erlinks_not_working.3F
Mik
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04914 seconds