User forums > Using Code::Blocks

Objective C mm file type handling

(1/1)

Napoleon:
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

oBFusCATed:
Project -> Project tree -> Edit file types and categories

Napoleon:
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.

Navigation

[0] Message Index

Go to full version