Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: k1mgy on June 27, 2007, 02:23:05 pm
-
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?
-
Settings->Editor->Syntax highlighting->[choose C/C++ language], click on "File masks" and add *.kl1 to that mask.
-
Sweet!
Thank you very much.