Make the Code look more comfortable (1): select the appropriate color scheme

Source: Internet
Author: User

From: http://www.cnblogs.com/xiaoshatian/archive/2009/11/20/1606440.html

 

"Make the Code look more comfortable". When you see this title, you may think that I want to say "refactoring ". Oh, lovely developers. We will not talk about technology for the moment, but about experience. Let's dress up Visual Studio every day to make the Code look more comfortable.

The Default Editor of Visual Studio 2008 is displayed. To make the code easier to recognize, Visual Studio uses different colors to differentiate various keywords.

The default color scheme is understandable. when the night is quiet, it will always make me burst into tears. Of course, I was not touched by my own code, but my fragile eyes could not stand its pale background color.

So I decided to make some changes.

Fortunately, Visual Studio allows you to easily set the code color scheme and select the menu 【Tools]【Option], In the pop-up"OptionIn the dialog box, select"Environment","Font and color", In the"Display its settings", Select"Text EditorThen we can change the font and color scheme of the code editor at will.

Well, I admit that it is a mechanical physical activity to adjust the color scheme by myself. Developers hate mechanical physical activity most. It's better to Google this time to see if there are any trees planted by our predecessors for us to take advantage of the cold, so I found some color schemes, as long as they are imported into Visual Studio, you can immediately see the effect!

The method for importing a color scheme is very simple. Select the menu 【Tools]【Import and Export settings], In the pop-up"Import and Export settings wizard"Dialog box, select"Import selected Environment Settings", And then select"Yes. Save the current settings."Or"No, only new settings are imported to overwrite my current settings.", And then click"BrowseTo open a Visual Studio settings file (with the extension. vssettings ).

Note that the Visual Studio settings file contains various settings of Visual Studio.Font and color", There are other settings, please check carefully.

Below are some of the color schemes I have found, and they show the same piece of code. Please download them as you like.

Jeff-Atwood, click here to download:

Humanestudio, click here to download:

2008-darkgrey, click here to download:

 

2008-ragnarok_grey, click here to download:

2008-moria_alt, click here to download:

2008-maid, click here to download:

2008-desertnights:

 

End note:

  • For a long time, I can't remember the source of these color schemes, so I didn't specify the source.
  • These configuration files are all Visual Studio 2008 configuration files. I did not perform tests in Other Visual Studio versions and do not guarantee compatibility.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.