Something I've always been curious about is the general details of how nimsuggest can properly resolve suggestions for UFCS.
Another language I enjoy programming in is D, and one of the limitations of the primary D LSP is that it doesn't support UFCS, so if you want a good authoring experience, you'd do better to forget that UFCS is a feature of the language at all.
Does anyone happen to know the overall architecture/technical approach of how it works in Nim?
The LSP has always worked well for me in VS Code, even many years ago as I recall.
Thank you both.
@Araq:
"nimsuggest determines the type of obj. and suggests the routines in scope that take typeof(obj) as the first parameter."
You make this sound, ehh, trivial. 😅 I will have to think about how this pattern could be applied.