Is there a way to have DScanner not put a red line under definitions like this, besides disabling it alltogether?
bool sleeping() => sleeping_;
Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 13, 2022 VS Code DSCanner doesn't like shortened method syntax | ||||
---|---|---|---|---|
| ||||
Is there a way to have DScanner not put a red line under definitions like this, besides disabling it alltogether?
|
December 15, 2022 Re: VS Code DSCanner doesn't like shortened method syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | On Tuesday, 13 December 2022 at 19:46:02 UTC, torhu wrote: >Is there a way to have DScanner not put a red line under definitions like this, besides disabling it alltogether?
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. |
December 15, 2022 Re: VS Code DSCanner doesn't like shortened method syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | On Thursday, 15 December 2022 at 13:18:06 UTC, WebFreak001 wrote: >The latest D-Scanner release supports this new syntax. Thanks! |
5 days ago Re: VS Code DSCanner doesn't like shortened method syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to WebFreak001 | 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! The last official release of code-d is two years old now, is there an update in sight? |