I feel like this should be obvious, and perhaps I'm totally missing something, but how do I click URLs from summaries?
Below is a screenshot example of what I am talking about. (Obviously in this case since it is a warning I can copy the warning from the error list window, paste it into a text editor, extract the url, then use my browser. In other cases I would have to printscreen and then manually re-type the url. Either way, both these approaches are time consuming)
The "other cases" would be a result of viewing a summary from other binaries, where the developer used summary tags i.e.
/// <summary>
/// Visit http://www.google.com for more info
/// </summary>
static void foo()
{
}
I cannot mouse over the summary box to click the link without it disappearing.
EDIT I'm not griping that I cannot use an external browser, I can't click the link (or copy easily) from the summary box. There has to be a better way
This question was asked before, the only way to do it is with a macro (see below). You think Microsoft would make this easier.
Sub OpenURLInChrome()
'copy to end of line
DTE.ActiveDocument.Selection.EndOfLine(True)
'set var
Dim url As String = DTE.ActiveDocument.Selection.Text
'launch chrome with url
System.Diagnostics.Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\Google\Chrome\Application\chrome.exe", url)
End Sub
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With