News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Imported Headers In Lighter Color Font

Started by SterlingM, March 22, 2010, 04:40:37 PM

Previous topic - Next topic

SterlingM

If I import header files into a project, they are all a greyish transparent color in the side list of files instead of black. If I import .cpp files, they remain black. Why are the headers files different? What does it mean?

MortenMacFly

Quote from: SterlingM on March 22, 2010, 04:40:37 PM
Why are the headers files different? What does it mean?
Black means: The file shall be compiled. Grey means: Do not compile the file.
For C++ implementation files (e.g. *.cpp) the default option is to compile the file until the user explicitly turn this off.
For C++ header files (e.g. *.h) the default option is not to compile the file until the user explicitly turn this on, which is the case usually only for pre-compiled header files a.k.a. "PCH".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

bmenkveld

I find this a major nuisance.  I use a light grey background in my Windows environment because a white background is too hard on my eyes.  The header file names are barely visible to me.

It would be really nice if I could change the background color of the "Projects" window.

--
Bert Menkveld