How to set the background color for the selected XAML node in Visual Studio 2012 - xaml

I have downloaded the VS2012 theme designer and am using a dark theme. In the designer I click on the WPF element in the designer and the corresponding text element in the XAML code editor should be selected. However the normal background color of the editor is dark dark grey and the background color of the selected item seems to be black. There is little or no contrast.
My question is, out of the hundreds of elements in the theme designer does anybody know the correct one to change to fix this problem?

In VS 2013, which I assume is the same as VS 2012, it is sufficient to click
Tools -> Options -> Fonts and Colors -> Text Editor -> Inactive Selected Text
and set the set the colors for that element type.

First create (or download and import) a custom theme. Then you need two steps to change the color:
Set the color in the theme designer: Text Editor → Inactive Selected Text → Background. Save it and apply your custom theme by double click.
Select: Tools -> Options -> Fonts and Colors -> Text Editor -> Inactive Selected Text -> Item Background -> Default
Every time you change the color in the theme designer, the 2nd step has to be repeated. Maybe it's sufficient to do only the 2nd step, but I did not try it.

Related

MS Visual Studio 2019: how to change background color of text editor's tooltip window

Winforms project, a form has some code in the Form_KeyDown event.
When i hover the mouse over the name of the event (Form_KeyDown) in the text editor of the form, a tooltip window appears. Going to Tools -> Options -> Environment -> Fonts and Colors i've searched around but i could not find how to change the tooltip's background color, either in Show Settings for: "Text Editor" or "Editor Tooltip" or "[All Text Tool Windows]". Where is the setting for changing the tooltip's background color (if any)?
For future reference, i have finally found the answer here: https://developercommunity.visualstudio.com
Check answer by Paul Chen in that link.
This was fixed in some update of VS2015.
Switch "Show settings for:" to "Environment" and you'll see "Tooltip" and "Tooltip Border", try change the "Background Color" of them.

Visual Studio 2015 XAML Editor Text color

I am using the Dark theme of Visual studio and there is one particular color which in my opinion is too weak.
I have tried to change it but couldn't really succeed.
When you click on an object in the designer, the XAML editor will try to mark the code by changing the objects background:
Now if you pay attention, then the background of <ComboBox... > is changed, but the difference is not that much. And I want to change that.
In the next sample the same code is shown with another theme:
In the sample above it is much more clear. And I want to make the same for the Dark theme.
Does anybody know how to do that ?
I have tried Tools >> Options >> Environment >> Fonts and Colors:
There are so many possibilities, and I have clicked on all of them, but couldn't really find the particular color I wanted.
In Tools >> Options >> Environment >> Fonts and Colors you need to select TextEditor in the Show settings for: combo, and the option under Display items: responsible for that color is called Inactive Selected Text (it's the 3rd option from the top in my VS). You can then use the Item background: color picker to select preferred color. Note though that this will change the background color of inactive selected text in all text editors, not just in the XAML editor. Here's a screenshot:

Overriding Intellisense colors in Visual Studio 2015

I'm using the Light theme with custom Text Editor colors. In Visual Studio 2015, my Intellisense and the other lightbulb/hover/popups all have code colors to match the Text Editor settings.
That sounds nice, but the Light theme has a very light gray background, and I prefer a white foreground color for Plain Text in the editor. It ends up like this:
From my investigation so far...
In previous versions of Visual Studio, this colorized Intellisense feature came from a Productivity Power Tools add-in. It could be turned off. That's not installed. It's built into Visual Studio now, and I couldn't find a place to turn it off.
I really don't want to mess with the theme editor. I just want black text Intellisense, or to at least turn the white text to black in the popups. Others have said it doesn't work with Intellisense, but I'm not sure.
I have set Tools > Options > Environment > Fonts and Colors > Editor Tooltip > Plain Text foreground color to black. That's why the words under the code are black. But that doesn't affect the code reference itself.
I have this same issue, as I use a dark blue background with light text.
What I did was use this add-on:
https://visualstudiogallery.msdn.microsoft.com/6f4b51b6-5c6b-4a81-9cb5-f2daa560430b
Then copy the theme you are currently using, but do not switch to it yet (if you want to keep your current font / color settings).
I then exported my "Font and Color" settings, opened the generated file, and removed the "Theme" XML element completely.
You can then switch to the new copied theme and re-import your color settings from the file just created using "Import and Export Settings".
Then go to the theme editor add-on under Tools > Customize Colors. Edit your theme. Select the "Show All Elements" option and search for "tooltip" in the *.theme file. Update the Editor Tooltip -> Plain Text -> Foreground to be bright, and the Environment -> ToolTip to be dark.
It isn't a perfect solution, but it is usable until they fix it.
#karoberts answer is good although with the Visual Studio 2015 Color Theme Editor already installed I had to
Update the Editor Tooltip -> Plain Text -> Foreground to be bright, and the Environment -> ToolTip to be dark
apply the theme
restart Visual Studio (otherwise it wouldn't take the background)
But exporting/importing as in #karoberts answer was not necessary.
Try this
tools > options > fonts and colors > show settings for "Enviroment" > tooltip > item background

Visual Studio 2013 - Change background color of Peek Definition Window

I use Visual Studio 2013 Ultimate, Resharper 8 and own color scheme from http://studiostyl.es/.
I would like change background color in peek definition window because now is yellow :(.
Maybe this cause own color scheme. I am not sure. It is possible change background color of peek window in Visual Studio?
Now look like this :(
The way I resolved this was through the following steps:
Navigate to Tools -> Options -> Environment -> Fonts and Colors
Make sure Text Editor is selected within the "Show settings for:" drop down
Within the "Display items:" list box find all Peek settings and adjust to your preferred styling.
Hope this helps.

How do I change the background color of aptana studio?

How do I change the black background of the Aptana IDE (or the entire theme) to a different one, like blue?
As gyozo mentioned in the comment, for a blue theme, use
Window->Preferences->Aptana Studio->Themes
and select the Eclipse theme.
Its simple just go to ->
Window->Preferences->Aptana Studio->Themes
Default background color in Text Editors window seems to be black. No matter whar I do I am not able to change it.
Here's what I do:
Right click ind the editors window
Select "Preferences" at the fly-out menu
Select "General > Editors > Text Editors"
Change "Background color" in the appearance box from black to anything
Click "Apply".
The change is made to the background of the line numbers in that column.
It's just very simple!
Just do: Window next go to Preferences then Aptana Studio finally click Themes
and select your theme!
To change the master theme do as above, but if you want to change the editor theme, go to
Window -> preferences -> aptana studio -> publishing -> themes
In Aptana 3.6.1 "editor theme" is the second option in that tree.
You can use one of the built-in themes or import your own.