Code::Blocks Forums
User forums => Help => Topic started by: cupido on January 19, 2009, 05:58:50 pm
-
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
-
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" ?
-
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.
-
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/
-
c/c++
squirrel
windows resource
XML
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).
-
sorry for not given the data.
MortenMacFly your right with your assumptions.
is there a simple way to install/active it now?
-
is there a simple way to install/active it now?
What about running the installer again and choosing the right settings?! It should be OK not do do an uninstall before unless you want to remove features, too. Another possibility is to upgrade to a nightly. (Search the forums for more information on that topic.)
-
thanks a lot.
your answer was as easy as genius.
after starting the installer
I`ve needed only to click on the checkbox for D under Lexers ->Compiled Languages
and C::B installed itself again with all additional opption
Best regards Cupido