Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Napoleon on October 03, 2015, 03:01:01 pm
-
I have various projects with .mm extensions (C++ for Obj-C) but Code::Blocks groups them under the "Others" heading in the source tree. Is there a way of making Code::Blocks recognise them as a source files?
Cheers,
Nap
-
Project -> Project tree -> Edit file types and categories
-
Thanks oBFusCATed, I knew CB had the feature somewhere.
On a related issue, syntax highlighting & comment handling works fine for the mm extension automatically.
Using Settings -> Editor -> Syntax Highlighting, and then selecting a file type from the "Syntax highlighting for:" drop-down (to select a profile; Bash in my case), I was able to add my own file type (*.awk) to the list by clicking the <Filemasks...> button and editing the mask.
Very nice.