Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: vdm on June 18, 2013, 12:44:46 am
-
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"?
-
Project -> Project tree -> Edit file types and categories
-
Thank you. :)
-
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 !