code-d
code-d copied to clipboard
Aliasing `this` gets reported as a problem, and prevents imports from being recognized
In my program, I aliased this within a class to an object reference of the class. This listed in the "Problems".
It is line 32 in this file.
It appears to have prevented any symbols defined outside the DUB package from being recognized, as everything started working after this line was removed.
Try upgrading to serve-d nightly by setting the d.servedReleaseChannel setting in vscode (Ctrl-, for User Settings) to nightly - afterwards, reload the window with Ctrl-Shift-P -> Reload Window and let it automatically download the update.