开发者

Syntax Highlighting in Arbitrary File Types

开发者 https://www.devze.com 2023-02-21 21:13 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消