News:

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

Main Menu

file association and syntax highlighting

Started by k1mgy, June 27, 2007, 02:23:05 PM

Previous topic - Next topic

k1mgy

Naturally Code::Blocks treats a *.c file properly and provides all the features that are needed including syntax highlighting and code completion.  However I am doing some work in Klone, which has a file extension *.kl1.  Code::Blocks now knows to open this file type, but doesn't know that it's really (mostly) C (mixed with some HTML). 

Is there a way to fool Code::Blocks into believing that a *.kl1 file is *.c?

mandrav

Settings->Editor->Syntax highlighting->[choose C/C++ language], click on "File masks" and add *.kl1 to that mask.
Be patient!
This bug will be fixed soon...

k1mgy