Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: wever on January 05, 2015, 02:59:39 pm

Title: How to change highliting fo .cl files?
Post by: wever on January 05, 2015, 02:59:39 pm
Hi,
I need to use highlighting for C source codes on .cl files. How to do it? Now I have white background and black color of font. How to enable it highlighting for non standard file extensions?
Title: Re: How to change highliting fo .cl files?
Post by: stahta01 on January 05, 2015, 03:07:16 pm
Hi,
I need to use highlighting for C source codes on .cl files. How to do it? Now I have white background and black color of font. How to enable it highlighting for non standard file extensions?

This is a guess; add it to the list of source files.

Settings -> Editor
Left Pane: Syntax Highlighting
Make sure the correct Language is selected in "Syntax Highlighting for"
Click on "File Masks.."

I believe the settings are saved in the CB Global config files.

Tim S.
Title: Re: How to change highliting fo .cl files?
Post by: wever on January 05, 2015, 03:16:49 pm
It works. Thank you.