Compile and run in Win10-VSCode

Imperatorn johan_forsberg_86 at hotmail.com
Fri Sep 25 13:42:57 UTC 2020


On Friday, 25 September 2020 at 13:38:56 UTC, Paul wrote:
> Hi Community,
>
> I'm Win10: I have VSCode installed.  I have DMD installed and 
> can compile examples from a Win CMD console.
>
> 1) How do I compile and run from within VSCode?
> 2) VSCode Extensions:
>       Do I need them?
>       One kept generating errors and a note said it was not 
> under active development so I
>          uninstalled it.
>       The remaining two are by WebFreak.  Are they working?  Do 
> I need them?
>
> Thanks for your time.

The code-d extension is awesome. Use it. About building and 
running, there should be an associated code-D tasks. Otherwise, 
just type dub. Did you create your project using dub init?


More information about the Digitalmars-d-learn mailing list