Eclipse sets the eye background color and font color in detail and exports

Source: Internet
Author: User
Tags deprecated set background

Http://jingyan.baidu.com/article/d5a880eb6c4f7813f147ccef.html

Eclipse is an integrated development platform that is popular with farmers, but its default theme and pale background color are just too exciting to watch.

Below, we will give you a detailed description of how to set up the theme of the eye protection , but also to make a point, I hope that more themes appear in the eclipse of the family.

Later, this article will show you how to save the set up theme for reloading the system or sharing it with a friend.

Finally, three kinds of programming fonts used by the author, suitable for Eclipse, are introduced as eggs.

Tools/Materials
    • Eclipse

Set background color and text color
  1. 1

    First, the way you set the background color, after you open eclipse, click Windows-Preference. Open the Interface Configuration dialog box. Operation

  2. 2

    After entering the dialog box:

    1. Expand the General tab, select the Editors option, then check Test Editors, and the test Editors panel appears on the right. There is an option in the Panel: Appearance color options, which is a variety of plate color settings, one of which is background color, choose the color according to your preference. 2, check background color, tick off system Default, click the ' Color ' block, the color selection panel will appear. Operation

  3. 3

    The background color used in this example is the red bean paste green, which is more gentle

    Set to: Hue: 85. Saturation: 120. Brightness: 208, it is said that long-time use can alleviate eye fatigue oh.

    (Spit Groove: Joke, away from programming to relieve eye fatigue?)

  4. 4

    Click Apply to set the back color, the following is how to change the text colors (in the Java editor, for example).

    Back to the Preference dialog box:

    1. Expand the Java tab, expand the Editor tab, click the Syntax Coloring tab, and the right pop-up tab.

    2. Click on the Java tab in the small window above to start changing the code color configuration.

    Operation

  5. 5

    In order to match the background color of red bean paste green, the following color scheme is my own set out, like DIY friends can also be modified on this basis: (Here the values are the values of Red Green Blue-rgb settings)

    1. Note Annotations : 107 147 186 light Blue

    2. Symbol Brackets : 255 128 0 Orange

    3. Class name Classes : 0 80 50 bold dark green

    4, Constant Constant : 202 0 202 Bold Rose

    5. Deprecated member Deprecated Members: 123 23 43 Medium Dash Bold Brown

    6. Enumeration Enums : 128 0 255 Purple

    7. Variable fields : 128 0 128 Dark Purple

    8, return keyword Keyword ' return ' : 255 0 85 Red Bold

    9. Other keywords Keyword excluding ' return ' : 207 46 125 Red rose Bold

    10. Method definition Methods declarations : 255 128 64 Orange Bold

    11. Method Methods : 0 48 96 Navy

    12, Digital Numbers : 42 0 255 Blue

    13, operator Operators : 255 128 0 Orange

    14. Other Others : 78 123 0 Green

    15 static variable: 33 0 189 Blue Bold

    16, String Strings : 132 26 138 Purple

    Change it later as shown. Click the Apply App.

    END
Export Settings
    1. 1

      After setting the preference, you can save the export by following the steps below.

      Click File to select Export to open the Import dialog box. Operation

    2. 2

      Select the preference item in the popup dialog box and click Next. Operation

    3. 3

      Once you have entered a file path, you can click Finish to save it.

      Import the method, select Import, follow the prompts to complete.

      END
Programming font Recommendations
    1. A good horse with a saddle, you still use Microsoft ya black words are out

      Let me introduce you to some of the fonts I used a bit.

      The first is the Apple's queen font Monaco

    2. The second is the hermit font developed by programmers. Based on Inconsolata.

    3. The last is the famous inconsolata.

    4. The above font on Baidu can be easily searchable, download and installation can be.

      Here's how to set the font (in the Java editor, for example). Operation

Eclipse sets the eye background color and font color in detail and exports

Related Article

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.