T O P I C R E V I E W |
peterchen |
Posted - May 18 2006 : 12:15:23 PM An idea that crossed my mind:
couldn't a certain syntax in the comments be made clickable, and lead to a (configurable) URL?
I'd like to do things like these:
[bugs:712] redirects to my bug tracker, bug number 712 [msdn:CreateFile] links to MSDN [wiki:IsIsolaitonActive] links to a page in our software docuumentaiton wiki etc.
The prefix & URL coul be configured in a list, e.g.
bugs=http://bugtracker/bug.asp?ID=* msdn=http://www.google.com/custom?_=&sitesearch=msdn.microsoft.com&q=* wiki=http://localhost/devwiki/?*
(where * is replaced by the URL-encoded part between : and ]
The syntax is just a first idea, and the hyperlinks should probably be 'active' only if Ctrl (or whatever) is held down, too.
I'd say it's important to keep the simplified format in the source for readablility, and for adjusting the "redirects".
Would that be possible? What do other users think? |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - May 18 2006 : 2:27:57 PM in VS2003 and VS2005 there is the option:
IDE tools menu -> Options -> Text Editor -> All Languages -> Enable single-click URL navigation
this seems to be what you are after, so long as you can get the IDE to pick up your URL format. |
|
|