D Language Server

Tips and information on how to install and use language servers with the editor.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 6566
Joined: 19 Jul 2006 14:29

D Language Server

Post 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
{}
Post Reply