Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 URL Hyperlink color - is it possible to not use this?

Visual Studio 2010 "helpfully" detects URLs and colors them blue (by default). It will do this regardless of context - whether the URL is in the midst of XML, or it's in a comment, or it's a string in code, etc. I find this distracting. The URLs are part of their context. I'm not coding in Visual Studio in order to click on hyperlinks.

Is there any way to have Visual Studio treat URL hyperlinks the same as surrounding text? I know you can change the color from blue to something else (Tools-Options-Fonts and Colors-Display Items-URL Hyperlink). I don't want the URLs to display any specific color, but instead use the surrounding context color.

like image 548
Bryan B Avatar asked Jun 30 '10 21:06

Bryan B


People also ask

Can you change the hyperlink color?

Change the color of a hyperlink Select the hyperlink you want to re-color. (How do I insert a hyperlink?) On the Home tab of the ribbon, select the Font Color arrow to open the menu of colors. Select the color you want for the hyperlink.

Can you change the color of display text in a hyperlink?

To change the color of hyperlink text, click the arrow next to Hyperlink, and then select a color. To change the color of followed hyperlink text, click the arrow next to Followed Hyperlink, and then select a color. Tip: For additional color choices, click More Colors.

What is the default hyperlink color code?

By default, a link will appear like this (in all browsers): An unvisited link is underlined and blue. A visited link is underlined and purple. An active link is underlined and red.


1 Answers

Yes: disable

Tools\Options\Text Editor\your language here\Enable single click URL navigation

to turn off the 'helpful' feature.

like image 65
Brian Avatar answered Oct 10 '22 09:10

Brian