User forums > Using Code::Blocks
Adding editor support for non-c/cpp files
(1/1)
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:
--- Quote ---I am running the latest stable version for Win32.
--- End quote ---
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.
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.
Navigation
[0] Message Index
Go to full version