Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Hyperlinks in Source comments

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000