VS Code DSCanner doesn't like shortened method syntax

bomat Tempest_spam at gmx.de
Sun Dec 3 10:22:07 UTC 2023


On Thursday, 15 December 2022 at 13:18:06 UTC, WebFreak001 wrote:
> The latest D-Scanner release supports this new syntax.
>
> If you use code-d, you get this update automatically in the 
> next release, or you can try out the pre-release right now.
>
> To install nightly or pre-release versions of serve-d, go into 
> the VSCode user settings (default shortcut: Ctrl-,), then go to 
> the D section and set "Served Release Channel" to nightly or 
> beta (JSON setting: "d.servedReleaseChannel": "nightly")
>
> When done, reload VSCode to make code-d auto-download the new 
> serve-d version.

Just wanted to add my thanks!
I had a similar issue with the new named member initialization 
feature, after updating the compiler from 2.102 to 2.106. 
Switched to the beta channel, now it works. :)

The last official release of code-d is two years old now, is 
there an update in sight?


More information about the Digitalmars-d-ide mailing list