digitalmars.D.ide - VS Code DSCanner doesn't like shortened method syntax
- torhu (5/5) Dec 13 2022 Is there a way to have DScanner not put a red line under
- WebFreak001 (10/15) Dec 15 2022 The latest D-Scanner release supports this new syntax.
Is there a way to have DScanner not put a red line under definitions like this, besides disabling it alltogether? ``` bool sleeping() => sleeping_; ```
Dec 13 2022
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? ``` bool sleeping() => sleeping_; ```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.
Dec 15 2022
On Thursday, 15 December 2022 at 13:18:06 UTC, WebFreak001 wrote:The latest D-Scanner release supports this new syntax.Thanks!
Dec 15 2022
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?
Dec 03 2023