serve-d
serve-d copied to clipboard
D LSP server (dlang language server protocol server)
In goland it is possible to automatically fill struct fields: Before: ![image](https://user-images.githubusercontent.com/39948112/175119429-2aa7cfb9-50de-4f2b-8489-cc0eb25d371c.png) After: ![image](https://user-images.githubusercontent.com/39948112/175119581-5742578d-5a54-43c8-a8ed-88c44eb320bf.png)
fixes #216 plan: - [x] workspace-d - [ ] protocol - [ ] serve-d
Currently autocompletion doesn't work with https://dlang.org/spec/class.html#alias-this . Example: ```dlang struct Scoped(T) { T payload; alias payload this; @disable this(); @disable this(this); ~this() { .destroy(payload); } } class DisplayArea: DrawingArea {...
Taken from IntelliJ with Rust plugin. Before: ![image](https://user-images.githubusercontent.com/39948112/175121029-545fcb3a-3816-4290-b0bf-03606f14fc26.png) After: ![image](https://user-images.githubusercontent.com/39948112/175121117-129ee46a-997d-48fd-966a-85eb60bdfe1e.png)
* [x] Simple return * [ ] Smart return (suggestions based on return type / name)
2 modes: - https://github.com/funkwerk/cogito - DScanner's cyclomatic complexity could show as code-lens or decoration, similar to dmd import timings.
see goland the idea of this command is to mainly aid in developing vibe.d applications, but would apply to other JSON areas too. - [ ] as command - [...