The state of editor support for D is depressing, let's change that

xoxo xororwr at gmail.com
Thu Aug 28 16:07:40 UTC 2025


On Thursday, 28 August 2025 at 14:58:22 UTC, Serg Gini wrote:
> 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?
>>
>> 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..
>
> D has many features that hard to implement in LSP
> templates, UFCS are just examples
>
> You can check this implementation for example: 
> https://github.com/rikkimax/dls

Sorry I phrased my question poorly, I know how to implement a LSP 
server, I meant how to use DMD's parser as a library

 From a HN thread:

> WalterBright 54 days ago | root | parent | next [–]
> The D lexer and parser can be used standalone.




More information about the Digitalmars-d mailing list