User forums > Using Code::Blocks
How to save syntax highlighting ?
Folco:
Hi,
I use .h files in an assembly project. Headers files are automatically colourized as C++ header files. I can colourize them as asm files by using Edit->Highlight mode->Assembly 68000 (I binded that to do it more quickly).
But is there a way to have these files of this project colourized permanently ?
If not, could the coloration be added in the .cbp file to remember that ?
xunxun:
Could you try change the ".h" to ".inc"?
Folco:
Of course, it would work, but I can't rename the files of all guys of the TI-68k communauty beacause I use C::B ^^
xunxun:
--- Quote from: Folco on November 14, 2010, 12:28:02 am ---Hi,
I use .h files in an assembly project. Headers files are automatically colourized as C++ header files. I can colourize them as asm files by using Edit->Highlight mode->Assembly 68000 (I binded that to do it more quickly).
But is there a way to have these files of this project colourized permanently ?
If not, could the coloration be added in the .cbp file to remember that ?
--- End quote ---
Yea, but I don't understand your meaning. Is it that you want to delete the ".h" highlight in the C/C++ highlight, or you want to take ".h" highlight in C/C++ and asm highlight all effective?
Folco:
I would want that CB remember that it must apply asm highlight to the .h files of this project (and keep C/C++ highlight for files outside this project).
Navigation
[0] Message Index
[#] Next page
Go to full version