Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: sauphy on March 26, 2015, 05:57:15 pm
-
Hi !
I code ".edp" files but code::blocks doesn't recognize this extension.
Firstly, i'd like to add this extension to code::blocks.
And secondly, i'd like to have colors when i write as in ".c" files.
I precise that when i write ".edp" files, the code is similar to C/C++. (int, for have the same syntax).
thank you for help !
-
Ok,
you didn't mention your Code::Blocks version and I have atm. only the 12.11 release at hand.
Open Settings -> Editor. In the left column of the dialog box you can select "Syntax highlighting".
Then you get a drop down box where you can select a language syntax the editor supports.
Select "C/C++". On the right side of it there is a button "Filemasks ..." which lets you edit the
file name pattern that will select "C/C++" mode if it matches (see screen shot).
Hope that helps,
pirx
PS.: Didn't test with *.edp files. I even don't know what kind of stuff this is.
-
It does work !
Thank you !