D Language Tutorial

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

D Language Tutorial

Post by jussij »

For Zeus to work with D you will need to install one of the D compilers found here: https://dlang.org/download.html

For more details regarding the D compiler refer to the D website: https://dlang.org/dmd-windows.html

With the compiler installed, use the Options, Document Types menu, edit the D Document Type and add the D compiler command line to the Compiler section.

This command line will depend on which D compiler that was installed. For example, a typical command line for the LDC compiler would be as follows:

Code: Select all

ldc2.exe -gdwarf "$fn"
NOTE: In this command line the $fn is a Zeus tag value and it will be replaced by details of the currently active file.

With that command line in place, a D file can be compiled by opening the file in the editor and using the Compiler, Compile menu to run the compiler.

NOTE: Other Zeus, D language specific features can be found here:
DCD Zeus Autocomplete
Running dfmt on Zeus File Save
Using Dscanner Inside Zeus
Post Reply