6cb349e70c
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.
1.3 KiB
1.3 KiB
D language layer
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 |