And this extends to most of the other projects too, such as the "wxWidgets" project shown there. It would use something like minimal.d instead of the corresponding minmal.cpp, to make a GUI ?
I'm new to CodeBlocks as well to D and in the phase of choosing the right tools for our open-source project.
Considering that we plan to use QtD and that CodeBlocks is open-source, have you thought about adding some (more) specific support (if required) to be able to develop Qt applications using CB IDE?
Yes, it could be extended to other project templates too (beyond "Console" and "wxWidgets"), such as "GTK+ project" (
GtkD) and "Qt4 project" (
QtD). Or "SDL project" or "OpenGL project", etc.
But adding a new
D to Code::Blocks, next to the
C and
CPP, is still the biggest change needed.
/// Struct to keep programs
struct CompilerPrograms
{
wxString C; // C compiler
wxString CPP; // C++ compiler
Once Code::Blocks knows the difference between C++ and D, it's easier to teach the wizards ?
The difference between D and D2 is more like the difference between C and C99 or C++ and C++0x, so that should be a smaller change even it requires running a different program rather just than a switch.
The hardest part is getting the code-completion to work with D, without "cheating" (i.e. C/C++).