Remix.run Logo
WhereIsTheTruth 12 hours ago

Odin have a great LSP, it supports everything the language offers, generics, unions, bitsets, using, same with Zig, their LSP supports most of the notable features even comptime..Both language are quite new, relatively to D

There is no excuse for D, if they can make a great compiler, they surely can make great tooling too

I suggest you give the D LSP a try, I have mentioned templates, but it's very frail for everything else, using `auto`, having a chain of identifiers or even using reference/pointers is enough to confuse it, most of the time

I think it stems from the fact that both Zig/Odin provide a parser/lexer as part of their std, making it easier to just focus on building the tools, the community built parser is not good and lags behind

WalterBright 3 minutes ago | parent [-]

The D lexer and parser can be used standalone.