|
From: | Sohail Somani |
Subject: | Turning comments into hyperlinks |
Date: | Wed, 18 Jul 2012 10:12:38 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
Greetings Earthlings!I have come across an inconvenience which I would like to resolve. I am working on a codebase which has the following patterns throughout the code:
// JIRA 12312 // ISSUE 12312 // KEY-12312What I would like to do is match these patterns and turn them into hyperlinks that open in the browser. So for example, I might turn KEY-12312 into a hyperlink to http://jira.myhomies.com/KEY-12312 but continue to display the original text.
How would I accomplish this with cc-mode or emacs in general? Thanks, Sohail
[Prev in Thread] | Current Thread | [Next in Thread] |