News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

colors and new extension

Started by sauphy, March 26, 2015, 05:57:15 PM

Previous topic - Next topic

sauphy

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 !

pirx67

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.

sauphy