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

Adding editor support for non-c/cpp files

Started by Stone, April 02, 2006, 09:49:13 PM

Previous topic - Next topic

Stone

Hello, Code::Blocks community.

I recently set up the Digital Mars D Compiler to work with Code::Blocks, and I was wondering if there's a way to make Code::Blocks recognize *.d files as source code and view it in an appropriate editor format. (colours, comments, etc)

I am running the latest stable version for Win32.

Thank you.

thomas

QuoteI am running the latest stable version for Win32.
In that case, you have to either copy a lexer from svn or write your own, also you have to associate the .D extension for Windows Explorer yourself.

If you use a development build, you can just go to options and have Code::Blocks assign everything for you. A lexer is included as well.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Stone

Thank you for your time. I will look into the development build and lexers.

Stone

Thanks, it works great.
This will surely ease my D development.