Why is selected text not clearly identifiable in VS 2015? - visual-studio

I have a problem with the Visual Studio 2015 editor. I changed the background color to black. It is very hard to identify selected text, which becomes a problem while coding.
So I went to Tools/Options/Fonts and Colors and in the settings for Text Editor I changed the choices for the display item Selected Text. The Item foreground option cannot be changed. So I tried to change the Item background option to red. The sample displayed has a bright red background and yellow characters. This is not what I see on my screen: a dark background with a very faint reddish tint and white characters. The background is almost indistinguishable from the editor's overall pitch black background. Choosing other colors instead of red makes things worse: no tint is displayed around the characters.
Is there a way to make selected text clearly identifiable in VS 2015?

This will keep you busy for a while. Consider using readily available color schemes, like Tools > Options > Environment > General > Color theme = Dark. Google "vs2015 dark color theme" for more.

Related

Visual Studio - Color Theme Designer: Selected text wrong background color

I'm playing around with the Color Theme Designer for Visual Studio 2022 to create a custom color scheme.
I have come to a syntax highlighting I like so far. But then I noticed that the background of some selected text remains at the normal background color (here: 0x282828) over keywords like new etc. See the screenshot below.
For that selection background I set up the All elements category in Color theme designer like:
Text Editor Text Manager Items
...
Plain Text 07282828
Plain Text FFEBDBB2
Selected Text FF076678
...
The property Selected text occurs here twice; once it probably concerns the background color, the second time the foreground color.
But on the screenshot it is visible that the background color only is applied to the empty glyphs, spaces etc.
Which setting in the Color Theme Designer must be changed to get the selection background color applied to the whole selection?

Change color of expanded dgml node

In a dgml file, an expanded Node can have the Background color set which changes the background of the border and title bar. The Foreground color sets the color of the title text.
The body currently seems to be filled with a color that depends on the current color theme selected in the Visual Studio options dialog. This means some people end up with white backgrounds and some black. This causes issues, especially when trying to export as xps to print the diagram. A massive block of black ink is a waste of ink!
How can the color of the body of the expanded Node be specified?
No it cannot. It was a "UI design" decision. Filling the entire group background with color conflicted too much with the VS color scheme. For example, a dark theme editor showing tons of White looks ugly, and a light themed VS showing tons of dark colors also looks ugly...sorry.

Background color and console text color

I am using PowerShell and I have run into the issue that I cannot distinguish certain colored text from the background. I have tried to go with default PowerShell blue, black, white, grey... There is a problem with all colors. For example with white - vagrant is colored yellow. If I choose black or blue then I cannot see Laravel's artisan which is blue (inside vagrant box). On grey I think I didn't read yellow and the bring green from logging into vagrant.
It's not as if I can change the background on the go as it often retains the background color as text background color. Also switching constantly would be annoying. I have tried Googling said issue but I have not come across anything that corresponds to the issue I am having. Surely there is a solution for this somehow?
I am posting this as a separate post since the only response I got was missing a few details to make it complete.
If you ever run across this error, then you indeed go to Properties > Colors and not only change the background color but change all the other colors presets to match. They are not there to offer you some presets to choose from, which I mistakenly believed - they are actual color definitions used by the console. When you are done, make sure that the selected colors for background, text etc have not shifted.
For example: PowerShell is dark blue. As such you cannot use colors that are similar and the bright regular blue I will change to light blue, which stands out easily. And voilá.
You should be able to change the text color for specific syntax in the colors tab. In the properties tab when you right click on power shell. Go to colors tab and edit it according

VisualStudio 2010: Quickly flip between text editor color schemes? (for LCD vs Projector)

In VS2010, I have a customized text editor color scheme that has a black background and light grey text. This is great for me working by myself on an LCD display. However, often I need to plug in to a projector to display code to a group. The black background color scheme does not work well at all on a projector, so I always want to flip back to basically the "default" color scheme.
The only way I know of to do this right now is to export the VS color settings to a backup file, then revert to defaults. When I am done with my group presentation, I can then re-import the previously exported color settings.
Does anyone know of an easier / less manual way of doing this? Like a plugin that lets you flip between text editor color schemes, or simply a macro to do the manual process above?
I found this writeup on how to make a macro and menu items to quickly export/import the fonts and colors: http://jeffhandley.com/archive/2010/03/09/225.aspx

Remove box around collapsed regions and summaries in Visual Studio

I'm using VS2010 and I'd like to change the font style of regions and/or summaries when they are condensed, primarily to remove the border around these sections as it's becoming distracting when scrolling through the code.
I've looked through the "Fonts and Colors" and other options and couldn't find anything obvious that would let me change it. Is this font customizable and where can it be done if it is?
You can change the font color under Fonts and Colors > Text Editor > Collapsed Text. Not sure if you can remove the border.

Resources