DLS (D Language Server) v0.20

Laurent Tréguier laurent.treguier.sink at gmail.com
Fri Dec 28 11:14:01 UTC 2018


Hello, and merry Christmas! (a bit late, but whatever)

At the end of March of this year, I had made a post [1] about 
this project, aimed at helping with D development on various 
editors (VSCode, Atom, Sublime text, vim...) [2].
In a nutshell, it's a bit like serve-d [3], albeit with fewer 
features, and focused more on being 'plug and play': a single 
binary with no dependencies, can be installed without being 
compiled on most OS's, automatically updates itself and tries to 
adapt to different dmd/ldc installations.

At the end of March it was at v0.1.5, which was primitive, and 
quite terrible in a lot of ways. I've recently released v0.20.1, 
and after 19 minor versions, it is certainly in better shape (or 
less terrible shape, depending on how you see it) than it used to 
be.
If anyone was curious about it at the time, but put off by its 
numerous flaws and lack of features, it should be more usable by 
now.

Some of its most notable changes since then include:
- Binary releases for the update system, replacing the previous 
method of recompiling itself and creating a black hole swallowing 
your RAM
- Tweaks to make it usable on FreeBSD with the Linux 
compatibility module
- Better integration with DFMT, D-Scanner and DCD, leading to new 
features and enhancements such as: linting, finding definitions, 
finding references, symbol renaming, listing module and workspace 
symbols, formatting without replacing the whole document, range 
formatting, local variable highlighting
- Better support for projects that don't use Dub, with detection 
of folders named `source` or `src`, and automatic importing of a 
project's git submodules
- Better detection of drumtime and phobos installation paths
- Fewer crashes

Happy coding!

[1] 
https://forum.dlang.org/post/jytsaamhiglkmeixxihx@forum.dlang.org
[2] https://github.com/d-language-server/dls
[3] https://github.com/Pure-D/serve-d


More information about the Digitalmars-d-announce mailing list