Change color of expanded dgml node - visual-studio

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.

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?

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

Why is selected text not clearly identifiable in VS 2015?

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.

What's the name of the color for the current item in the VS XAML editor?

Ok. I am finding it difficult to visually discern where the current focus of my editor is. The image below shows that I am currently in the bottom PathIcon tag while the top PathIcon tag is highlighted because it is a matching type. The similarity in color has finally driven me crazy.
Does anyone know the correct text-type in the Fonts and Colors dialog of Visual Studio 2015 to change this color? And, look, for all the StackOverflow haters trolling the board, please resist closing this q until there is an answer. Then you can have your fun.
It looks like there are actually two different colors in play here. The grey box on the "<PathIcon" that contains the cursor is "Brace Matching (Rectangle)". The purplish box on the other "PathIcon" looks like it is the background portion of the "Match color", which is installed by the pro power tools.
The latter color won't reset if you change the color in fonts and colors but will be correct for editor instances you open after changing the color.
I think you're looking for Highlight Current Line (Active), which controls the colors of the line your cursor is on.

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

Resources