User forums > Using Code::Blocks

[REQUEST]Load .java file with C style code coloring (there's no coloring AT ALL)

(1/1)

foldingBLACKlinesSUCK:
I REALLY love CodeBlocks and all of it's features... It's very frustrating to rename every single .java file to .c just for CodeColoring and Code folding...  :(

PLEEEEEEASE Consider this feature  :lol:

TDragon:
Just add .java to the list of extensions for C/C++ syntax highlighting. (It's in the Editor settings.)

foldingBLACKlinesSUCK:

--- Quote from: TDragon on November 15, 2008, 12:15:40 am ---Just add .java to the list of extensions for C/C++ syntax highlighting. (It's in the Editor settings.)

--- End quote ---


AAAAAAAAAAAAAAAAAAAAAAAAAWESOMEEEE!  :D

Now I can edit javascript and java and html both in CodeBlocks  :lol:

This made my work 40x Faster and more easier  :lol:

Jenna:
You can chose highlight mode for the actual file from "Edit -> Highlight mode", but that only works until the file is closed.

A permanet solution is to add *.java to the filemask used for c/c++-syntax highlighting: Click and chose "Settings -> Editor.. -> Syntax highlighting -> Syntax highlighting for: C/C++ -> Filemasks..." and add "*.java" .

EDIT:
 :cry:
Not fast enough.

Navigation

[0] Message Index

Go to full version