VS2012: How to change color of vertical bar left of text editor? - visual-studio-2012

In Visual Studio 2012 there is a vertical bar next to the text editor, in which the red markers of breakpoints are shown:
Is there any way to set the color of this bar?

For the records, I have found the solution. You can change this setting under:
Tools ->
Options ->
Environment ->
Fonts and Colors ->
Text Editor settings ->
"Indicator Margin" (Item Background)

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.

Which color Value for Highligting in Visual Studio 2012

When I highlight a variable in Visual Studio the other appearances are also highlighted with a light gray background (standard behaviour from VS 2012)
I want to change that background color to a more "visible" color. I already installed the "Visual Studi 2012 Color Theme Editor" to be able to change individual colors.
I just do not know, what is the Name of that Color. I expect it to be under "All Elements - Editor - xxx" but which is the exact Name of that color?
Here is an example:
(how do I change the gray backgrounds)?
You can change it via Options -> Enviroment -> Fonts and Colors -> Diplay items -> Highlighted Reference. "Visual Studi 2012 Color Theme Editor" is not necessary for this.

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

How can I change the highlight color in the Visual Studio 2012 error list?

I'm using the Dark theme from the Visual Studio 2012 themes. I have installed the VS 2012 color theme editor. What I want to do is change the background color that appears in the Error list when you select an error.
Presently that background color is a highly saturated bright blue. Text for errors is white. The white on bright blue is difficult to read. I want to tone that blue down. But I can't locate the property in the color theme editor that will adjust that. What color attribute can I adjust in the editor to change that? Thanks.
I had a similar issue when finding and replacing strings with the Visual Studio 2013 Dark Theme. The search would highlight all the found items light blue. When I went to select a part of the highlighted string, it would highlight the selected portion with a nearly identical color making it very difficult to tell what part of the string was highlighted for edit.
I went into TOOLS -> Options... -> Fonts and Colors -> Text Editor -> Selected Text and changed it to 'Yellow' which is working well for me.
If it's anything like Visual Studios 2010:
Tools -> Options -> Environment -> Fonts & Colors -> Display Items(Error)
In the theme editor, select "Show all elements".
Then edit "Environment -> Highlight".
You can achieve this by following the following list of menus:
Tools -> Options... -> Fonts and Colors -> Text Editor -> Find Match Highlight

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

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.

Resources