Page 1 of 1

D Language Server

Posted: 02 Apr 2023 19:35
by Rickard Johansson
D Language Server
The purpose of this project is to give every editor the same capabilities and editing features as code-d through the widely available Microsoft Language Server Protocol (LSP).

Download from: https://github.com/Pure-D/serve-d/releases

Prerequirements: D compiler, dcd and dub.
D compiler: https://dlang.org/download.html
DCD: https://github.com/dlang-community/DCD
DUB: https://github.com/dlang/dub/releases

Now you can add the server to a project.

Add the server in project/sites settings

Server name
D language server

Command
serve-d.exe

Initial folder
%homepath%\.serve-d

Command line arguments

File extension and language id
.d=d

Communication channel
* Command line (stdio)

Source folders
<Path to your go project files>

Initialize options
{}