Visual Studio - Current file in Solution Explorer - Make it darker? - visual-studio

I don't want to change the entire background color of solution explorer in VS, only the selected file.
Hints?
Thanks.

Check out Tools > Options > Projects and Solutions, and then check off "Track Active Item in Solution Explorer". This will make whichever file you're viewing/editing inside of Visual Studio automatically be selected in Solution Explorer and if your Windows color scheme is set up properly, it will in fact be darker.
This option used to be on by default in 2003 and maybe 2005, but 2008 has it disabled by default now... I personally prefer it turned on.

HKEY_CURRENT_USER\Control Panel\Colors\ButtonFace is the registry key that sets the background color of the current file in solution explorer when solution explorer has not focus, this is what I found for Vs2010 and windows 7 - could not seem to find interface to modify the button face color in the gui. many things use this color, so I set just dark enough to see.

I have no idea why you want to do that in the first place, curious :)
Anyway, I doubt you can change the entire UI's background color depending on the type of file /editor mode.
You might find more clues from these:
Visual Studio - Fonts and Colors, Environment, Options Dialog Box
Changing your colors in Visual Studio.NET - Black versus White
How to increase your Visual Studio environment fonts for presentations?

Related

Set Visual Studio font size for "Error List" tool window only?

In Visual Studio 2017, is it possible to change the UI font size for the IDE Error List tool window only, i.e., without affecting any other settings?
Having said this, I can't even find any setting in Tools > Options > Environment > Fonts and Colors that affects the Error List at all, even after restarting Visual Studio as suggested.
It is done by changing the Environment Font. It changes the menu font too.
Tools->Options->Fonts and Colors->Environment
I have the same issue and couldn't resolve in Visual Studio (the font size updates in other areas of VS, but the error list stays the same).
I only needed a bigger font for a presentation so used the magnifier tool in Windows. Not something you want to use all the time, but great for a short-term need
Unfortunately, Visual Studio (2022 and most likely older) does not allow to change the font of the error list independently from the rest of the environment.
Somebody asked for the default font of the environment. The default font is "Segoe UI" with font size 9.

Class names not coloured in Visual Studio 2012

I am evaluating Visual Studio 2012 and am having some problems with the color schema.
Sure enough I was able to overcome the initial discomfort by setting my color for the text editor.
One thing I have not been able to set corrent are the color for the class names.
Say you have a line like below.
Class name = new Class();
the entire line is in the same color, expect the new keyword.
I want the word 'Class' to be in a different color like in earlier versions of Visual Studio.
I am not able to set the color for this from the Option.
I have tried chaning color for all fields like plain text, literals, identifier, etc under
Tool -> Option -> Environment -> Font & Colors
but still I am not able to fix this.
I have also applied custome themes, those are also not helping.
I wouldn't want to install a productivity power tool for such basic preference right ??
Edit:
I'm on Windows 7 x64 and Visual Studio Professional 2012, Version 11.0.50727.1 RTMREL
The solution I found is a combination of the suggestions found in a mish mash of related threads:
Close Visual Studio and open the VS command prompt as an administrator. Navigate to the devenv.exe file (in Express versions it is titled something along the lines of *express.exe) usually located in C://Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE.
Type devenv.exe /setup
Reopen Visual Studio. If everything is all colored now, great! If not, close the tabs and reopen them.
Performing all of step 3 is what has got my coloring to come back to normal.
Here is where I got the suggestions:
Visual Studio 2012 - Intellisense sometimes disappearing / broken
How can I get user type C# syntax highlighting working again in VS 2012 RC?
If you're using Productive Power Tools, go to => Tools -> Options -> Productive Power Tools. In main menu, TURN OFF the option: Colorized Parameter Help.
I solved my problem, I'm on Windows 8 Pro, Visual Studio 2012 Ultimate.
You're on the right track. Under Tools -> Options -> Environment -> Fonts and Colors, you want to change "User Types", first making sure at the top of the dialog that you are viewing the settings for the "Text Editor"
Although, by default with my install of Visual Studio 2012 these were already set, so you may want to try the "Use Defaults" button, unless you've made other changes that you want to keep.
go to the tools >Option click on enviroment navigation and click on import and export setting and copy the url and open directory from the url and delete all font and color file .which you got setting folder
The workaround provided by Donatas on Microsoft Connect works without having to turn off any option of Productivity Power Tools:
There is a workaround without turning off "Colorized Parameter Help".
Go to Tools > Options > Environment > Fonts and Colors in Display
items select "User Types (Value types)" click Custom next to Item
foreground color and in the color picker change Red, Green or Blue by
1, i.e. to make a custom color which basically looks the same. OK on
all the dialogs and problem solved.

Is there plugins/addons for visual studio 2010 to change the code and text editor's background color?

I have been looking for , lets use the word "mods", for visual studio left and right to be able to change the background and font color of the code editor for quite a while now. This is a simple question and hopefully not a duplicate of Is it possible to change backround color of editor and autocomplete tooltips in Visual Studio?. If I can refine my question a bit more, is it possible to manually change the background color of the code and text editor, or does mods or plugins or addons exist somewhere to do this feature for me? My eyes are straining on the white background...
I am using visual studio 2010
From the main menu, go to Tools -> Options. From there open up Environment -> Fonts and Colors. If you don't want to spent the time configuring it that way (which would be completely understandable), download the theme editor, or pick and download a nice theme at http://studiostyl.es/

How to set editor tooltip color and background in Visual Studio 2010?

i am using black scheme and set up color setting for editor tooltips:
Sample preview is correct but actual result is different:
Is it possible to set up tooltip colors in Visual Studio 2010 properly?
After installing the Productivity Power Tools and following this post it is at least possible to read the signatures again, but that post gives me little hope how to fix the other color settings.
Edit: Installing CSharpIntellisencePresenter makes the Auto-Complete readable in a dark theme, see this question
I tried using Hack-It to enable the "Custom..." buttons with VS2008 and changed color settings were saved (still present after a VS restart).
But I was not changing the colors for the correct item I guess.
I am using Visual Assist and I think the 'Editor Tooltip' is not the item I want to change the colors from.
You could give it a try...
Anyone knows from which item I must change colors to affect Visual Assist tool tips when hovering a function ?
For Visual Assist tooltip I need to change Windows theme...

Set (temporary) fixed zoom factor in Visual Studio 2010 code editor

Is there a way to configure Visual Studio 2010 (or ReSharper, btw.) to zoom in newly opened files to a specific percentage?
(Background: In some cases (working late, different screen) I'd like to zoom in a little to make it easier on the eyes)
VSCommands 2010 allows you to specify zoom level for newly opened documents.
In the meantime I found a working solution:
The Visual Studio add-in presentation zoom provides a behavior similar to which I was looking for. To quote the description at vs gallery:
This extension creates a global zoom level so that if you zoom a single window, all editor instances will be updated to that zoom level.
The zoom level is applied to newly opened files as well (which was particularly important for me)
I'd go with plainly changing the default text size via Tools > Options > Environment > Fonts and Colors > Size
As to ReSharper, it doesn't provide this kind of rendering options.

Resources