CndSemanticHighlighting

List of supported semantic highlighting types in NB

Latest HIE guide: http://ui.netbeans.org/docs/ui/editor_fonts_colors/Editor_fonts_and_colors.htm#CPP

Updated June 17th: - Netbeans and Earth (advanced) color schemes are supported now - UI Option to differ System Macros from User Macros was removed as it duplicated Font Color settings functionality - Currently class field color is the same as preprocessor definition one (subject to discuss with HIE)

Inactive Code Blocks

Sample:
#ifdef 0
int i_am_inactive;
#endif


"Netbeans" color: #969696;
"Earth" color: #969696;
Reviewed by HIE: yes

User Macros

Sample:
int x = MAX (a,b);


"Netbeans" color: #2E92C7;
"Earth" color: #2E92C7;
Reviewed by HIE: yes

System Macros

Sample:
if ( _cplusplus ) {


"Netbeans" color: #2E92C7;
"Earth" color: #008080;
Reviewed by HIE: yes

Class Fields

Sample:
NewClass::NewClass(int var) {
this.var = var;
}


"Netbeans" color: #009900;
"Earth" color: #009900;
Reviewed by HIE: yes, consistent with the same java highlighting

Function's names

Sample:
int main(int argc, char** argv)



"Netbeans" highlighting: bold font
"Earth" highlighting: bold font
Reviewed by HIE: yes, consistent with the same java highlighting

Typedefs

Sample:
typedef long INT;
INT i;



"Netbeans" color: 2E92C7
"Earth" color: #9933CC;
Reviewed by HIE: yes

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo