Pure-D / code-d

Fully featured D language extension for Visual Studio Code using Serve-D
MIT License
297 stars 47 forks source link

Autocompletion & non-conventional module paths #180

Open Superbelko opened 6 years ago

Superbelko commented 6 years ago

Autocompletion and go-to-symbol features doesn't works when module name doesn't match FS hierarchy.

Examples:

source/mylib.d

module proj.mylib;
...

or source/libname/stuff.d

module core.stuff;
...

In both cases autocompletion stops working until file or module renamed to match. There are 3rd-party libraries that do that, and this issue makes code-d unusable.

chances commented 3 years ago

@WebFreak001 Any update on this issue? The extension is automatically renaming my modules with source. prefixes.

WebFreak001 commented 3 years ago

@chances that issue is unrelated to this one. Please try the current nightly releases for serve-d (d.servedReleaseChannel: nightly setting) and if the problem persists make a minimal reproduction case and open a new issue