News:

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

Main Menu

How to add files with non-standard extensions to the directory named Sources

Started by vdm, June 18, 2013, 12:44:46 AM

Previous topic - Next topic

vdm

In my CodeBlocks Editor configurtion: Settings -> Editor -> Code completion -> C/C++ parser (adv.) i have added additional file extension *.pc to be parsed as a source file. Now this string looks like this: c,cpp,cxx,cc,c++,pc I have also added extension to the Syntax highlighting and this strings looks like this: *.c,*.cpp,*.cc,*.cxx,*.h,*.hpp,*.hh,*.hxx,*.inl,*.ipp,*.tcc,*.pc

The problem is that all *.pc files are separated from the *.c and *.cpp files and they are shown in the directory with name "Others". Is it possible to configure codeblocks editor to show *.c, *.cpp and *.pc files together in one directory named "Sources"?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]


sauphy

Hi !

In relation with this topic, i've done the same thing for the extension ".edp" but i wonder how to have colors now ?

When i write a C/C++ file, there are colors(highlighting) and for ".edp" files, what can i do ?

thank you !