DCD Setup Instructions
To make this work do the following:
- Make sure you are running the latest version of Zeus found here: https://www.zeusedit.com/download.html
- Download the latest release of DCD found here: https://github.com/dlang-community/DCD/releases
- Unzip the DCD client and server utilities and make sure they are somewhere in the PATH, And easy option is to put these files in this Zeus folder location: C:\Users\<your User ID>\AppData\Local\Programs\Zeus (x64)\zGNU
- Start Zeus and use the Macros menu to start the DCD server, making sure it starts correctly
- With the server running the dot complete and brace complete should now work
- Edit some D code and you should see intellisense on the dot key and the open bracket key
Automatically Starting/Stopping the DCD Server
By using the Zeus application starting and application closing triggers it is also possible to configure Zeus to automatically start and stop the DCD server.
Use the Options, Editor Options menu and select the editor Triggers panel.
For the Application Starting use the dcd_app_starting.lua script.
For the Application Closing use the dcd_app_closing.lua script.
With these scripts in place Zeus will manage the starting and stopping of the DCD server.
Manually Starting/Stopping the DCD Server
For the autocomplete to work the DCD server first needs to be started, using the Macros menu shown below: NOTE: That menu will only show if a D file is being edited.
Example of Dot Completion

Example of Brace Completion

Example of Display Document Comment
Consider this sample D code where the | indicates the cursor location:
Code: Select all
module main;
import std.stdio;
import std.datetime;
/*******************************
* This is a D Doccumment for the TestStruct structure.
*
* This comment is displayed in a tool tip.
*/
struct TestStruct
{
int test;
}
void main()
{
TestStruct|
}

Example of Find Declaration
Consider this code:
Code: Select all
import std.stdio;
import std.datetime;
int main(string[] args)
{
StopWatch sw = StopWatch(AutoStart.yes);
return 0;
}
Code: Select all
C:\dmd2\src\phobos\std\datetime.d
Code: Select all
@safe struct StopWatch
{
public:
....
Using the dfmt with Zeus
Using the Dscanner (D Language) inside Zeus
Using the D Programming Language with Zeus