diff options
author | Benjamin Muskalla | 2011-08-17 12:18:57 +0000 |
---|---|---|
committer | Matthias Sohn | 2011-08-17 12:18:57 +0000 |
commit | 4620af17ae771f0fadb9c612466f90f94a520f4c (patch) | |
tree | 9892d3f43ea55c179168e2f529f1bd6a8cca489b /org.eclipse.egit.mylyn.ui/plugin.xml | |
parent | f1ad64cb5fa45b4a9769464e165d7cbac9a111c4 (diff) | |
download | egit-4620af17ae771f0fadb9c612466f90f94a520f4c.tar.gz egit-4620af17ae771f0fadb9c612466f90f94a520f4c.tar.xz egit-4620af17ae771f0fadb9c612466f90f94a520f4c.zip |
Support hyperlink detector for Commit ids
In order to have better navigation between code and tasks, this
hyperlink detector recognizes commit ids inside the task descriptions
and lets the user open the corresponding commit in the Commit editor.
Change-Id: Ic60d11a45b8cb8cc9383e4120a84eae2f1859e32
Signed-off-by: Benjamin Muskalla <benjamin.muskalla@tasktop.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui/plugin.xml')
-rw-r--r-- | org.eclipse.egit.mylyn.ui/plugin.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.egit.mylyn.ui/plugin.xml b/org.eclipse.egit.mylyn.ui/plugin.xml index 31a5d02c7c..474f84f45c 100644 --- a/org.eclipse.egit.mylyn.ui/plugin.xml +++ b/org.eclipse.egit.mylyn.ui/plugin.xml @@ -18,4 +18,14 @@ <adapter type="org.eclipse.mylyn.team.ui.AbstractTaskReference"/> </factory> </extension> + <extension + point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors"> + <hyperlinkDetector + activate="true" + class="org.eclipse.egit.internal.mylyn.ui.CommitHyperlinkDetector" + id="org.eclipse.egit.mylyn.ui.commitHyperlinkDetector" + name="%hyperlinkDetector.name" + targetId="org.eclipse.mylyn.tasks.ui.TaskEditor"> + </hyperlinkDetector> + </extension> </plugin> |