On Thursday, 28 August 2025 at 14:34:00 UTC, xoxo wrote:
> I want to use DMD as a library to start building a reliable LSP.
Problem is, there’s basically zero documentation on how to even get started with that.
Does anyone have pointers, examples, or any kind of reference that could help?
A presentation from dconf 2023: https://www.youtube.com/watch?v=eKT3MYpRgYA
Slides are linked from there. And Razvan works for DLF, he can probably help explain things if you ask here or other places.
> It’s insane how bad editor support is. Coming from Go, where the core team actually develops and maintains their own LSP and tools, it’s no wonder D never gained more traction.
And yes, I have tried ServeD, it's not reliable..
I have seen this statement quite a bit. We need to work on it.
I think that a lot of D users (including myself) rely on very old-fashioned workflows for these kinds of things, so we don't feel that pain. Not saying this is an excuse, it just might explain why focus isn't high on this problem.
There is also work on a tree-sitter based LSP, which I believe is used in zed, see here: https://github.com/gdamore/tree-sitter-d
-Steve