hi
Is it possible to have a C style syntax coloring for custom files ? i am using some files that have .vert and .frag extension and i would like to have them syntax colored when in codeblock.
regards
Change the XML-lexer-file by adding the file extension in question, namely the file "
lexer_cpp.xml" in:
[CodeBlocks_Installation_Folder]\share\CodeBlocks\lexers
... first node, attribute "filemasks".
Alternatively you can configure this in C::B as well under:
Settings -> Editor -> Syntax highlighting -> Choose "C/C++" -> Hit the button "Filemasks..." besides.