How can we change the background colour in Visual Studio Code?
Here's how to change the color theme of the IDE frame and the tool windows in Visual Studio. On the menu bar, choose Tools > Options. In the options list, choose Environment > General. In the Color theme list, choose either the default Dark theme, the Light theme, the Blue theme, or the Blue (Extra Contrast) theme.
Right-click the Custom folder, point to Add, and click New Item. In the Add New Item dialog box, in the Templates list, click Code File. In the Name box, type BackgroundImage. cs , and click Add.
If you go to the Code menu item and click on preferences. When the preferences open the menu's show the items in the figure below. At the bottom of the preferences menu panal is a option for 'Color Theme'. Click on Color Theme and select a dark theme from the collection of themes shown..
And the correct answer is (Visual Studio 2010):
From the menus:
Tools -> Options --> Environment -> Fonts and Colors:
Select "Plain Text".
On the right of that, under "Item backgroud:" hit the dropdown list.
As you will see, the "default" list of colours in here are way too strong for a background, so you'll have to hit "Custom...".
I highly recommend a very, very pale creamy yellow colour. When you've dragged the crosshair over the exact colour you wish, hit the hue arrow sidebar indicator on the right of the colour palette in order to view your selected colour in the "Color" indicator.
If you wish to save this colour for future reference, click on a vacant white space under "Custom Colours:", and hit the "Add to Custom Colors" button. Your newly selected colour will be saved here. Click OK twice.
Tip: In order to overwrite any of these custom colours with a new one, make sure you click the required square so the dotted surround appears, before adding the new colour to the palette position.
My work is done here.
:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With