Text Editor does not change with theme - visual-studio

My visual studios seems to have just randomly broken.
The text editor does not seem to change colors at all upon the theme being changed.
for example, if the theme is dark the surrounding windows will all format to the correct color but the editor itself remains the "light" theme. It doesn't even respond to the blue theme.
I can manually edit the colors, but that seems to be all I can do right now.

I just had this problem where no matter which theme I selected the text editor would be light as you say.
I resolved this by going to Tools > Options > Environment > Fonts and Colors and with Text Editor selected in the top drop down I clicked Use Defaults and that switched it back to being of the theme which you selected in General.

Related

Visual Studio Color Themes - Apply only "Text Editor" colors (without the other custom UI colors)

I've found a Visual Studio (2019) theme I like within the Visual Studio Color Theme editor, but I really want to import only the fonts and colors for the text editor, and not all of the customizations for the rest of the Visual Studio environment.
It appears there is no native support within the color editor to export only certain theme attributes when copying a theme to modify. Also, when customizing a theme, it is possible to select multiple individual UI elements, but no way to then restore them to default such that the theme only contains the Text Editor changes.
I tried loading the theme that has the desired text editor colors, then Tools->Export Settings and then only select "Fonts and Colors", but now this also exports the UI customizations rather than just the text editor colors. Right now, the only way I can see to do this is to create a new theme from the stock dark theme, then manually copy each text editor color from the desired theme to the new one...I'm really trying to avoid this, as there are literally dozens and dozens of text editor colors and this would take a very long time.
I also tried exporting the theme, editing the .vstheme file and removing everything except the Text Editor colors, but Visual Studio throws an exception upon import--presumably all of the elements are required to be defined with the XML.
Thanks for any ideas you can come up with!
Okay, I managed to get this figured out in what I believe is the easiest way possible. The update to my question where I exported the .vstheme file to modify manually was definitely the right path. Basically, I exported the theme that contained the current environment colors that I want to keep. I also exported the theme with the text editor colors I want to apply. I then simply replaced the 3 sections for text editor color settings in the "old" theme file with the new color settings from the "new" file. (Collapsing the XML code down to the 3rd level helped a LOT, as there are almost 10,000 lines.)
After this, I simply imported the modified file and voila—only the editor colors are applied.

How do I change Properties Window's Color

I'm using Visual Studio 2015 along with the Theme Color Editor. I have chosen the dard solarized color for the environment. When working with the XAML Designer, when I select a control, the Properties Window displays a solid white color in the bottom half, which is really annoying considering that everything is dark.
Is there a way I can change this color? I tried to search colors in the theme editor plugin, but I couldn't find any setting corresponding to that...
Thank you
So, getting a clue from the link Sam Khan provided, I figured it out. You have to change Cider -> ListBackground color in the theme editor plugin (You can choose the eyedropper to choose a color from the GUI)
As Farzad said, Cider → ListBackground is important as it affects the items, but Environment → ToolWindowBackground is also used by the Properties window, which is the color behind all properties.
Note: This window can't handle transparency on its background, unlike others (for those using MoeIDE or ClaudiaIDE).

custom visual studio 2013 theme

I installed Visual Studio 2013, set it to dark theme, and imported settings for son of obsidian style.
And now it looks like this:
What I am trying to achieve is to get rid of the annoying white bar, which has been dark before the son of obsidian settings was imported.
Do you know where in the setting can I set the color of this bar?
I believe what you are looking for is the TextEditor - Indicator Margin BackGround The default color in VS2012 is FF333333 if you look in the Son of Obsidian Settings you will find that it is set to:
<Item Name="Indicator Margin" Foreground="0x02000000" Background="0x00F0F0F0" BoldFont="No"/>
Which is a gray with its alpha channel set to 0, you could try editing the Settings file and importing it again, or you could just go to Tools --> Options --> Environment --> Fonts and Colors. Keep the Show settings on the Text Editor selected and go to Indicator Margin in the Display Items(fourth item down on my system).
You can then click the Custom button for the Item Background which will bring up a Color Selection Dialog and you should make it look like this, to put it back to the original settings.
Have you tried using the VS2013 Color Theme Editor?

Change background colors of profiler informations

I did install the "son of obsidian" theme in Visual Studio. Today, I used the integrated profiler and could hardly read the per-line percentage and the highlighting was a bit off. No doubt this is because of the theme.
I have tried to find the relevant config entry within the options, but I had no luck so far. Where can I configure the background color of the percentages and the highlight color?
Here is a screenshot to illustrate my problem:
Meanwhile, I tried to change it using the xml File (.vssettings) directly, bit no luck so far. I changed all the colors in the xml to red but the background color of the bar won't change. The textcolor is the same as the normal textcolor in the editor. If that is white or a light gray, the profiling information is hardly legible.
I know this is an old question but for anyone else who happens to have this problem here is the fix:
In VS2013: Tools -> Options -> Environment -> Fonts and Colors.
Under the settings for Text Editor in the Display Items box, you can change the margin by editing the Indicator Margin.

Visual Studio 2010 element names for theming

I am trying to figure out what the element name for the tooltip is in Visual Studio 2010 so that I can change the style using the extension found here. Anyone know what that is? I am using the default theme which seems to have a white to light grey gradient on it. This is less than optimal since the text for the functions are also white.
alt text http://img267.imageshack.us/img267/6195/vs2010tooltip.png
In a more general question (and perhaps better), is there anything that maps the names as they are found in the theme to where they are in the IDE.
After switching through some settings, I now believe it is not the IDE theme and is instead in the settings, but can't find which field it is.
Adianbanks is correct go to Tools -> Options -> Fonts and Colors. The field you posted looks like Signature Help Tooltip Background. It has been overlooked on several of the dark background themes that I have tried. Also, make sure to change the Item Background color.
If you go to Tools -> Options -> Fonts and Colors, you need to change the combo box at the top to Editor Tooltip to change this style. In my Visual Studio though, I can only change the font, not the colours,

Resources