Change background colour for Visual Studio

2020-05-16 23:58发布

How can we change the background colour in Visual Studio?

14条回答
\"骚年 ilove
2楼-- · 2020-05-17 00:18

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.

:)

查看更多
迷人小祖宗
3楼-- · 2020-05-17 00:19

Tools --> Options --> Environment --> Fonts and Colors

查看更多
我想做一个坏孩纸
4楼-- · 2020-05-17 00:20

2019

Tools -> Options --> Environment -> Fonts and Colors:

enter image description here

查看更多
Deceive 欺骗
5楼-- · 2020-05-17 00:23

Its really simple to customize the background of Visual Studio 2013. Here is it :

  • Tools
  • Options
  • Environment -> General

P.S : Works in Visual Studio 2012 & 2013

enter image description here

查看更多
霸刀☆藐视天下
6楼-- · 2020-05-17 00:33

File-> Preferences-> Settings.

Find workbench.colorCustomizations object, change its editor.background property and save (you will see the results immediately — no need to restart vs code). Or you just can copy my current config file vs code config gist.

查看更多
放荡不羁爱自由
7楼-- · 2020-05-17 00:34

One line answer, F1 -> search for "Color Theme" -> select the color you like

查看更多
登录 后发表回答