Syntax Highlighting in Arbitrary File Types
I'm using Code::Blocks for a project that uses templated classes, and I'm separating the implementation from the declaration with .tpp
files. However, Code::Blocks doesn't recognize that .tpp
is a C++ file, so syntax highlighting does not work. How can I add the assoc开发者_运维问答iation?
Maybe this site can help you: http://wiki.codeblocks.org/index.php?title=Creating_a_custom_lexer_for_Code::Blocks_editor
精彩评论