www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Open existing repo in Visual Studio using Visual-D

reply em5f <morozov.evgeniy.95 gmail.com> writes:
Hi everyone! I'm just starting my journey in D and liking it so 
far! I've decided to give Visual-D a try and blown away with the 
features such as code coverage display, profiling, and so on - 
impressive job guys, thanks a lot!

My question is - is it possible to open the existing project that 
was generated using `dub-init` command, for example, and have all 
the features - run/debug/completion/etc. enabled? I couldn't 
figure that out, unfortunately.

The reason I'm asking is quite simple - I don't really want my 
projects to depend on the external tools and limit potential 
contributors (or even myself, if I don't have access to a Windows 
machine with VS) in tools they could use.
Feb 04 2023
parent reply "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
$ dub generate visuald

https://dub.pm/commandline.html#generate

Unfortunately it doesn't generate all that good project files and 
VisualD doesn't support dub directly. However if you modify the files 
manually you could PR the changes needed into dub to improve it :)

https://github.com/dlang/dub/blob/master/source/dub/generators/visuald.d
Feb 04 2023
parent em5f <morozov.evgeniy.95 gmail.com> writes:
On Saturday, 4 February 2023 at 20:44:27 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
 $ dub generate visuald

 https://dub.pm/commandline.html#generate

 Unfortunately it doesn't generate all that good project files 
 and VisualD doesn't support dub directly. However if you modify 
 the files manually you could PR the changes needed into dub to 
 improve it :)

 https://github.com/dlang/dub/blob/master/source/dub/generators/visuald.d
Thanks, looks like the thing I was looking for, I'll give it a try!
Feb 05 2023