Bug 164041 - Hyperlink detector for Java class names
Summary: Hyperlink detector for Java class names
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
: 166397 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-09 17:58 EST by Eugene Kuleshov CLA
Modified: 2010-06-04 14:52 EDT (History)
2 users (show)

See Also:


Attachments
mylyn/context/zip (1.00 KB, application/octet-stream)
2010-04-15 19:12 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2006-11-09 17:58:57 EST
It would be really handy to recognize class names in the bug description and comments (like in bug 164037) and allow to quickly jump into those classes. Similar functionality is provided by AnyEditTools plugin, but it does not work for Task editor.
Comment 1 Mik Kersten CLA 2006-12-01 18:26:34 EST
*** Bug 166397 has been marked as a duplicate of this bug. ***
Comment 2 Mik Kersten CLA 2006-12-01 18:28:23 EST
Handling of fully-qualified class names would help with exceptions, as discussed on bug 166397:

Bugzilla editor (and probably others) have nice hyperlinks to the stack trace elements, but not on the exception class. For example:
java.lang.ExceptionInInitializerError
	at 
org.eclipse.mylar.internal.bugzilla.core.BugzillaAttachmentHandler.uploadAttachment(BugzillaAttachmentHandler.java:134)
Comment 3 Eugene Kuleshov CLA 2006-12-01 18:36:38 EST
Mik, this is not exactly the same. Bug 166397 deal with have qualified names and "exception" or "error" keywords, like detector is already used by Console view.

On the other hand, this bug is requesting hyperlinking for stuff like "BugzillaAttachmentHandler".
Comment 4 Mik Kersten CLA 2006-12-02 04:50:32 EST
While there is a slight difference, I want these tracked as one bug.  Each bug we track adds a little overhead, and the problem and solution for these will be very closely related, which is why I inlined the exception case into this bug.  I doubt that we're going to parse for "*Exception" and "*Error" because those may lead to more false positives than detecting fully qualified and camel case naming patterns.
Comment 5 Mik Kersten CLA 2006-12-02 04:52:01 EST
*** Bug 166397 has been marked as a duplicate of this bug. ***
Comment 6 Steffen Pingel CLA 2010-04-15 19:12:05 EDT
Some work has been completed as part of bug 239087. There is still some potential for improvement since the current hyperlink strategy requires a prefix such as "java class" or "file".
Comment 7 Steffen Pingel CLA 2010-04-15 19:12:15 EDT
Created attachment 165032 [details]
mylyn/context/zip
Comment 8 Mik Kersten CLA 2010-06-04 08:33:29 EDT
Steffen: Is this as easy as tuning what was contributed by the summer of code student so that we can get it into Helios?  Eg, simplifying to "class BugzillaCore" and adding a setting to the Task Editor portion of the repository settings page?  If so I think we should bump the priority of this so that we get to it post Helios and get some mileage on it?
Comment 9 Steffen Pingel CLA 2010-06-04 14:52:18 EDT
We would have to look into the technical details but it's not much more than a hyperlink detector to we should be able to make it work. It could even work without a prefix as long as there is some good handling of conflicts, e.g. for repositories that use CamelCase to reference wiki pages.
Comment 10 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn