VisualD installer does not find visual studio 2019 community edition
exo1
f at f.f
Mon Jun 8 11:23:49 UTC 2020
On Monday, 8 June 2020 at 11:05:10 UTC, exo1 wrote:
> Hello,
> I am trying to install visualD because it supports using dmd-fe
> to provide goto-def and is therefore much better than the
> vscode extension.
> However, its installer is not able to detect vs2019-community.
> I have reinstalled (vs2019 + c++ for desktop) three times and
> restarted afterwards, and still the installer does not detect
> it.
> Has anybody been able to use VisualD 0.52.0 with vs2019
> community?
Okay so I reinstalled 4th time by first cleaning up with
InstallCleanup.exe
(https://docs.microsoft.com/en-us/visualstudio/install/remove-visual-studio?view=vs-2019) and this time VisualD got installed.
However when I enable "Experimental: use DMD parsing engine for
semantic analysis", i get lots of weird errors during
intellisense (not during building) -
```
errors in imported modules:
Error: C:\D\dmd2\src\phobos\std\stdio.d(16): module
`core.stdc.stddef` import `wchar_t` not found
Error: C:\D\dmd2\src\druntime\import\core\stdc\time.d(151):
undefined identifier `time_t`, did you mean function `time`?
Error: C:\D\dmd2\src\druntime\import\core\stdc\time.d(151):
undefined identifier `time_t`, did you mean function `time`?
Error: C:\D\dmd2\src\druntime\import\core\stdc\time.d(153):
undefined identifier `time_t`, did you mean function `time`?
Error: C:\D\dmd2\src\druntime\import\core\stdc\time.d(153):
undefined identifier `tm`
etc. etc.
```
and
```
errors in imported modules:
Error: C:\D\dmd2\src\druntime\import\core\stdc\stdio.d(1243):
unrecognized `pragma(printf)`
Error: C:\D\dmd2\src\druntime\import\core\stdc\stdio.d(1246):
unrecognized `pragma(scanf)`
Error: C:\D\dmd2\src\druntime\import\core\stdc\stdio.d(1249):
unrecognized `pragma(printf)`
Error: C:\D\dmd2\src\druntime\import\core\stdc\stdio.d(1252):
unrecognized `pragma(scanf)`
Error: C:\D\dmd2\src\druntime\import\core\stdc\stdio.d(1255):
unrecognized `pragma(printf)`
etc. etc.
```
DMD parsing engine was the only reason I tried to use VisualD.
However it does not work for some reason. Maybe it needs to be
updated for the latest D release? IDK. The editor tooling for
Dlang is really bad :(
More information about the Digitalmars-d-ide
mailing list