News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

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

Started by foldingBLACKlinesSUCK, November 15, 2008, 12:07:07 AM

Previous topic - Next topic

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.)
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

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.)


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.