Wraps dcd, dfmt and dscanner to one unified environment managed by dub
D Other
Clone or download

README.md

workspace-d Build Status Join on Discord

workspace-d wraps dcd, dfmt and dscanner to one unified environment managed by dub.

It uses process pipes and json for communication.

Installation

Precompiled binaries for windows & linux

Automatic Installation

Just run install.sh or install.bat (Windows/WIP)

sh install.sh

Manual Installation

First, install the dependencies:

  • dcd - Used for auto completion
  • dfmt - Used for code formatting
  • dscanner - Used for static code linting

Then, run:

git clone https://github.com/Pure-D/workspace-d.git
cd workspace-d
git submodule init
git submodule update
# Linux:
dub build --build=release
# Windows:
dub build --build=debug --arch=x86_mscoff
# or
dub build --build=release --compiler=ldc2

Either move all the executable binaries to one path and add that path to the Windows PATH variable or $PATH on Posix, or change the binary path configuration in your editor.

Usage

For users

For plugin developers

Microsoft Language Server Protocol (LSP) wrapper: serve-d

Wiki/Message Format