Transferred from: http://www.cnblogs.com/arci/archive/2011/01/23/1942646.html
Eclipse Color Settings
Reference color scheme:
http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/
http://code.google.com/p/gnuemacscolorthemetest/
1. The eclipse color settings are shown in the menu, Windows-preferences,1.
Figure 1, Preferences
2. Colors and font,2, appearance, General, General.
Figure 2, Colors and Font
Font settings can be made here.
3. Text editors,3, Editors, General, General.
Figure 3, Text Editors
Described below:
Line number foreground front color setting
Current line highlight highlight color settings
Print margin printing page margin color settings
Find scope search scope color settings
Selection foreground color The foreground color setting for the selected content
Selection background Color The background color of the selected content setting
Background Color Background color settings
Foreground Color Foreground settings
Hyperlink hyperlink color Settings
4. annotations,4, Text Editors, Editors, General, General.
Figure 4, Annotations
Variable highlight color setting at cursor of C/C + + occurrences
5, editor,5, C + +, as shown.
Figure 5, Editor
Described below:
Matching brackets Highlight matching parentheses highlighting color settings
Inactive code Highlight inactive codes highlighting (such as statements that are not in the # # condition)
Completion proposal background auto complement window background color setting
Completion proposal foreground auto-fill window foreground color settings
Parameter Hint Background
Parameter hint foreground
Source hover background Source Hover window background color setting
6, C/c++->editor->syntax coloring,6 shown.
Figure 6, Syntax coloring
Described below:
C + +
-----Editor
-----------Syntax Coloring Syntax Coloring
--------------------------enable semantic highlighting to enable syntax highlighting
--------------------------element elements
---------------------------------Code Codes
-------------------------------------Braces Brackets
-------------------------------------built-in types built-in type name
-------------------------------------Classes, Structs, unions class, struct, union
-------------------------------------Enumerators enumeration elements
-------------------------------------Enums Enumeration types
-------------------------------------External SDK calls external software development kit calls (e.g., printf in stdio.h)
-------------------------------------Fields Bit-fields
-------------------------------------functions Declarations function name Declaration (definition)
-------------------------------------functions function name (reference)
-------------------------------------Global Variables variables
-------------------------------------keywords keywords (not including built-in type names)
-------------------------------------Labels Tags
Local variable definition-------------------------------------local variable declarations
Local variable reference-------------------------------------local variable references
-------------------------------------macro Definitions Macros definition
-------------------------------------macro References Macros reference
-------------------------------------method declarations in the Declarations class
-------------------------------------Methods Method Reference
-------------------------------------namespaces
-------------------------------------numbers values
-------------------------------------operators operator
-------------------------------------Others other----don't know why the names of structs belong to other
-------------------------------------Overloaded Operators overloaded operator
-------------------------------------Parameter variables function shape parametric
-------------------------------------problems
-------------------------------------static field (Bit-fields)
-------------------------------------Static Method Invocations
-------------------------------------strings characters and strings
-------------------------------------Template Parameters
-------------------------------------typedefs types declared with typedef
---------------------------------Assembly Assembly Language
-----------------------------------------directives Instructions
-----------------------------------------Labels Tags
---------------------------------Comments Notes
-----------------------------------------multi-line comment multi-line Comment
-----------------------------------------single-line Comment single-line comment
-----------------------------------------Task Tags tasks tags
---------------------------------Preprocessor pretreatment
---------------------------------------------Directives directive (#号开头的预处理指令)
---------------------------------------------Headers Header File
---------------------------------------------others other
---------------------------------Doxygen
----------------------------------------Doxygen Multi-line Comment
----------------------------------------Doxygen Single-line Comment
----------------------------------------Doxygen Tag
1.Braces Brackets
() [] {}
2.built-in types built-in type name
Char Doublefloat Intlong
Short signedunsigned Void_bool
_complex _imaginary
3.Classes, Structs, unions class, struct, consortium (c + +)
4.Enumerators enumeration elements
Enum Test {ZERO, one, and both} test;
Zero, one, and the enumeration elements in the example
5.Enums enum type
Enum Test {ZERO, one, and both} test;
The test in the example is an enumeration type
6.External SDK calls external software development Kit calls
For example: Call the printf function in stdio.h
7.Fields Domain
Refers to member variables defined in a struct or union
8.Function declarations function name declaration and definition
9.Functions Function Name Call
10.Global Variables Global Variables
11.Keywords keywords (not including built-in type names)
Auto Break Case Const continue
Default do else enum extern
For goto if inline register
Restrict Returnsizeof staticstruct
Switch Typedefunion volatilewhile
12.Labels Label
13.Local variable declarations local variable definition
14.Local variable references local variable reference
15.MACRO Definitions Macro Definition
16.MACRO References Macro Reference
Method declaration for 17.Method Declarations Class (C + +)
Method references for 18.Methods classes (c + +)
19.Namespaces (c + +)
20.Numbers value
21.Operators operator
22.Others Other (do not know why the name of the struct belongs to other)
23.Overloaded operators overloaded operator (C + +)
24.Parameter variables function Shape parametric
25.Problems (unclear what is used)
26.Static fields static Domain
A member variable defined with static in a struct or union
27.Static method Invocations (c + +)
28.Strings characters and strings
29.Template parameters (c + +)
30.Typedefs types declared with typedef
Source: >
"001: Reprint settings for colors in Eclipse"