This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/d
Tu Do 6cb349e70c Add more features for D language
Add `company-dcd` package that uses DCD (a completion daemon for D) to
provide better IDE features:

- Better code completion.
- Jump to definition.
- Search symbol references.
2016-10-14 12:33:13 +03:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
config.el Define missing jumper handler variables for helm-gtags 2016-09-05 02:38:13 -04:00
packages.el Add more features for D language 2016-10-14 12:33:13 +03:00
README.org Add more features for D language 2016-10-14 12:33:13 +03:00

D language layer

/TakeV/spacemacs/media/commit/779072a6516b0d6fef68cdf28e763ab3a630815b/layers/+lang/d/img/dlogo.png

Description

This simple layer adds support for the D language. It adds d-mode as well as integrating it with auto-completion and syntax-checking.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add d to the existing dotspacemacs-configuration-layers list in this file.

To enable smart D completion, you need to install DCD. Here are installation instructions. After successfully built DCD, you need to copy the binary dcd-server and dcd-client in bin/ directory to somewhere in your $PATH e.g. /usr/local/bin on Linux.

Key bindings

Key Binding Description
SPC m g g Go to definition
SPC m g b Jump back (after go to definition with above command)
SPC m g r find references to all symbol at point