User forums > General (but related to Code::Blocks)

How to change highliting fo .cl files?

(1/1)

wever:
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?

stahta01:

--- Quote from: 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?

--- End quote ---

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.

wever:
It works. Thank you.

Navigation

[0] Message Index

Go to full version