Visual Studio line numbers don't change after changing to black theme - visual-studio

I changed my theme from white to black. The line numbers won't change to the correct foreground and background.
Image
Why's that?
Any answers appreciated.
I found a way of how to fix it:
You go to Tools->Options->Environment->Font and Colors
Choose line numbers, choose different background, click OK, go back and set it again to default.

Related

In Visual Studio Dark Theme how to get rid of white rectangle surrounding active line of code?

screenshot of rectangle in editor
In Visual Studio Dark theme there is a white rectangle surrounding the active line of code in the editor. This rectangle kind of ruins the clean black background and popping text. The settings under Tools>Options>... seem to be able to change the text forecolor/background color only and not the rectangle itslef. Anyone knows how to solve this? Also VS Code doesn't have this quirk.
In the Text Editor options you can uncheck Highlight current line.
Open settings.json file and add this line:
"editor.renderLineHighlight": "none"

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

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.

Change VS2013 WorkFlow Background

I'm using the dark theme for VS2013. The workflow designer background for a SSIS package is quite the eyesore. It's a black background, which is fine, and has a white/creme colored lines. I'm assuming that the lines are meant to be there to distinguish that it is the background and not an element, but it makes horizontal lines a pain to look at. Also, the blue completion lines are barely visible. So is there a way to change the color and get rid of the lines?
Screenshot
NOTE:
The lines seem to only be there during debug, just noticed. So if there is no way of removing them, it's not that big of a deal.

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