Visual Studio 2010 doesn't remember font settings - visual-studio-2010

I set my font in VS2010 to Consolas 10 and it always works.
From last week, every time I opened a new instance of VS2010, the font is changed to something else (probably the default font?), but the font dialog says I'm still using Consolas 10.
To go back to Consolas, I have to set the font size to 11, click OK, then open the dialog and set it back to 10.
This is pretty annoying. Anyone has a solution?

Related

Font loading issue in Visual Studio 2019

I've recently installed the Fira Code font for Visual Studio 2019, version 16.6.3
The issue that I have is that after I shut down my computer, the font won't load properly unless I close VS and re-install it (and, when I do that, Windows also tells me that the font is already installed and I have to confirm that I want to overwrite it) in order to get it to load properly.
The confusing thing about this issue is that even when the font doesn't load correctly (it loads the default font instead) it stil appears to be properly selected in Tools > Options > Environment > Fonts And Colors.
I solved it by installing the font for all the users, which can be achieved by simply left clicking the .ttf file and selecting the "Install for all users" option.

problem with text color in Visual studio + VisualGDB

each time I open a visualGDB(5.4 r8) embedded project in visual studio 2019, the text color changes like the image below.
this problem only exists for VisualGDB projects
this problem didn't exist earlier for VisualGDB on Visual studio 2017
I can fix it each time by changing the visual studio default color theme. (e.g. switch from dark to light). but only for that session. after I close and reopen the VisualGDB projects I have to do it again.
I have cleaned VisualGDB cache with no luck.
I have set the font properties in options to default with no luck.
there should be some problem with intellisense cuz when i change the settings, the text gets back to normal for a few seconds.
any suggestions to how to solve this problem ?
This is actually a known issue caused by a recent change in the internal color encoding of Visual Studio 2019.
We have already fixed it in the VisualGDB 5.4 branch (simply re-downloading the installer from http://visualgdb.com/download/ should resolve the problem) and will include the fix in VisualGDB 5.5 Preview 1 that will be released next week.
In case the incorrect settings get cached somewhere, please use Tools->Options->Environment->Fonts and Colors->Text Editor->C/C++ <...> to reset the background color of the affected items to the default value.

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.

Visual Studio 2010 - Productivity Power Tools - Highlight Current Line's colour resets on VS reload

I have Visual Studio 2010 Pro installed with "Productivity Power Tools" being the only extention and "Highlight Current Line" the only option enbled on that extention.
I then change the colour of the "Current Line (Extention)" to a darker colour (as my background is black not white and the light grey is to harsh)
BUT every time I open/restart Visual Stuio 2010 the current line is highlighted with the default light grey colour again. I can correct this by opening up "Tools", "Options...", "Enviroment", "Fonts and Colors" and clicking "OK" but I need to do this EVERY TIME I load VS2010.
Does anyone know a work around or solution to this?
Thanks in Advance.
EDIT:
Just to be clear the settings are NOT lost they are just not applied after I start VS2010 until I enter the "Fonts and Colors" option section and just click OK.
I don't even need to change or reapply the settings as they are already there! I suspect a fault in the power tools extension but from what I have read on the site MS aren't updating them now as they are working on the next version of VS.
I know of no real reason this is happening to you. I suggest you get the latest updates of Visual Studio 2010 and Power Tools if you haven't already.
As a work around you might save your settings through the Tools|Import and Export Settings menu. Export only Options>Environment>Fonts and Colors
Disable the powertools option for current line highlight and enable the Resharper current line highlight.
Works like a charm

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

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?

Resources