User forums > Help

Syntax highlighting for D

(1/2) > >>

cupido:
hello

I´ve got installed the dmd version 2 and dmc tools for the programming language D.
I configured Code::Blocks such that it was possible to write and run hello world.

But the problem is that there is no syntax highlighting active for D.
How can I activate this for D.

regards cupido

afb:
As long as the Scintilla lexer for D (lexer_d) is loaded, it should have syntax highlighting...

See also Settings > Editor... > Syntax highlighting, under "Syntax highlighting for: D" ?

cupido:
thanks for your answer

this was the place where I look for it first, but there is no entrie for D.

I have the possibility to choose between:
c/c++
squirrel
windows resource
XML

how can I add the "Scintilla lexer for D (lexer_d)" 
and
where can I find it ?

on my system I can´t find such a file.

afb:
Maybe it wasn't included in the packaging you used ?

Should be available under http://svn.berlios.de/svnroot/repos/codeblocks/trunk/src/sdk/resources/lexers/

MortenMacFly:

--- Quote from: cupido on January 20, 2009, 08:21:51 pm ---c/c++
squirrel
windows resource
XML

--- End quote ---
See: If you don't post a version of C::B and a platform we can't ant won't help you, really.

I believe that you are on Windows, using the installer for C::B 08.02 and forgot to enable the other lexers in the installation step (they are disabled in the default install).

Navigation

[0] Message Index

[#] Next page

Go to full version