serve-d
serve-d copied to clipboard
D LSP server (dlang language server protocol server)
![image](https://user-images.githubusercontent.com/586833/222947550-65294107-2e04-46f1-a159-24cc5e8e7382.png) # My Environment ![image](https://user-images.githubusercontent.com/586833/222947760-733ab5ab-1018-4ae6-aa1e-9eb44b177fb5.png) ![image](https://user-images.githubusercontent.com/586833/222947715-ca286098-0c51-4b16-82a1-a571134efe7a.png) ![image](https://user-images.githubusercontent.com/586833/222947733-945b732c-f9d2-404d-b158-f913df70f311.png)
Currently projects with targetType none + embedded subpackages (to build all libraries at once on a build) are unsupported, as they don't have any import paths, etc. Additionally subpackages aren't...
Code: ```d alias u8 = ubyte; void main() { u8 c3 = 'b'; } ``` When hovering with the mouse over the `u8` symbol I get the following error inside...
- [ ] `$(REF_ALTTEXT bidirectional range, isBidirectionalRange, std,range,primitives)` - [ ] `$(HTTP wikipedia.org/wiki/_Uniq, _uniq)`
Right now imports will be suggested for all known packages, but we should probably only look through packages that are reachable / importable by the project.
Currently all files with a `mixin` are checked (and all their dependents, recursively) in a reference search, however object.d is excluded from this because it's implicitly imported everywhere, unless the...
e.g. when found symbols are accessed from a private context or if the definition is private, we don't need to recurse imports from that file anymore. This should improve accuracy...
when between `import` and `;`, don't add these extra completion items.
Use dpldocs.info or similar. Example: `import mongoschema;` -> Error importing -> Search online code fix -> Add dub package mongoschemad, etc. For undefined symbols the same: check local projects for...
This probably improves massively in quality when #293 is implemented should find all variable assignments, possibly also of type auto, e.g. ```d struct Foo // search for usage of `Foo`...