News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to change highliting fo .cl files?

Started by wever, January 05, 2015, 02:59:39 PM

Previous topic - Next topic

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

#1
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?

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

wever