How to change border width and color of "highlight current line" in Visual Studio 11 - visual-studio-2012

I have been able to change the background color after installing the updates by changing
Tool / Options / Environment / Text Editor / Highlight Current Line (Active)
Is there a way to change the highlights border width or color?
I like having the highlight so I would prefer not to just disable it. But it would be nice to either eliminate the border, make it smaller or change the color.

You can make the border go away by going to
Tools > Options... > Environment > Fonts and Colors > Show settings for: Text Editor > Display items: Highlight Current Line (Active) / (Inactive)
In order to change border color you should change the setting "Item foreground" for both of them. You can choose any background color also, but there seems to be no way to change the width.

Seems to be this behavior was fixed since original answer was written. So answer needs update and here it is:
https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3012415-remove-the-light-border-around-highlight-current
You can remove the border by matching the Background color of the
Highlight Current Line (Active) setting in Fonts and Colors to the
Foreground color. This is a simple customization.
Go to Tools > Options > Environment > Fonts and Colors
and look there for Highlight Current line, active and inactive. To remove border as described by VS team by link and cite above.

From MSDN Thread courtesy of Cathy Sullivan Visual Studio Program Manager
Go to Fonts and Colors in Tools > Options > Environment > Fonts and Colors. Make sure "Show Settings For" is set to "Text Editor" and find the "Highlight Current Line (Active)" item in the "Display Items" list. Match the foreground color to the background color for that item and you'll notice the lighter border around the Highlight Current Line "disappears."

Try these settings out...
Tools (menu) > Options
Environment (tab) > General
Set Color Theme to Dark.
Environment (tab) > Fonts and Colors
Display Items > 'Highlight Current Line (Active)' (list item)
Set 'Item Foreground' to 'Default'
Set 'Item Background' to 'Automatic'
The border around the current line should no longer feel oppressively thick '-)

I like to use a black background for code, so I changed the line highlight colour to very dark grey [via TOOLS > Options... > Environment > Fonts and Colors > Display Items: > Highlight Current Line (Active)] so that it's not as visible against the background. Helpfully, although the border is too thick, text is actually rendered over the top of the border, which is nice.
Definitely, though, a thinner line and the ability to change the colour of the whole line, not just the border, would be welcome.

Related

How to hide the scroll bar markers on Android Studio?

How can I disable the markers shown as thick horizontal yellow and blue lines on top of the scroll bar on Android Studio v2.2.3
You can hide the orange "inspection lines" by click on the "man in a hat" icon in the lower right corner of the window. Then choose highlighting level "syntax".
Look under Editor > General > Appearance
You can adjust the settings there.

How to set the color of finding Occurrence of key words in PhpStorm?

I have an issue about how to set the color of finding Occurrence of key words in PhpStorm. Any ideas?
Change color for specific 'find View' is not possible.
This color area is link by the color of editor. Change color in Editor and your result find view change also with those color you specified.
This is what your color change when you changed the theme of PHPStorm.

Removing the gray border/rectangle in Visual studio 2012/2015

I've changed the colors in Visual studio 2015 so that when I highlight a word , it colors declarations in yellow and references in green.
But for some reason - there is a gray border around the declarative part :
Question
Is there any way to remove the gray border ?
Edit
It seems that it happend also in earlier versions in another place - "Highlight current line" :
Here is the related question But I can't find the exact color setting to change (my question is not about current line but highlight reference).
You should just need to change the Item Foreground colour of the Highlighted Definition entry to match your default background colour and it will disappear.

VS 2012: Change color of selected text when context-menu is open

In Visual Studio 2012, I know that the color scheme for the Text Editor can be changed at TOOLS -> Options -> Environment -> Fonts and Colors.
However, what I can't find is this: When selecting a chunk of text with the mouse, and right clicking on that selection, the background color for the selection changes. Right now, that color matches the dark background of the Text Editor, which makes it look like nothing is selected.
How can I change the background color of selected text when the right-click context menu is open?
I think you are looking for the InactiveSelectedText option.
A part from this, I want to inform you to look at this site where you can find many premade themes with accurately choosen colors

In Visual Studio, how can I change/disable the line-highlight color when I double-click on a row in "Find Results"?

Sorry for the complicated title.
Screenshot here:
Basically:
Do a "Find in Files" search in VS.
Double click on one of the results.
The line in the editor window is highlighted with dark blue (in my case).
The highlight does not go away unless I do another "Find in Files" search and click on another result.
The problems:
The highlight is too dark/overpowering.
I can't see other highlights (like selecting text, or even where my cursor is).
I want the highlight to go away while I'm editing the file.
So my questions:
Can I change the color of this highlight to something less powerful? (a nice light gray perhaps) I can't seem to tell which of the color-coding options changes this one.
Can I clear this highlight somehow while editing (without needing to do another search)
Can I disable this highlighting completely?
Thanks!
PS. I'm not interested in the line-highlight color in the "Find Results" window itself - just the highlight that appears in my text-editor window after I double-click on one of the results.
Try changing your color settings.
Tools -> Options -> Fonts and Colors
Select "Show settings for: Find Results Window" and change the "Current List Location" background color.

Resources