Could Visual D integrate dub?
Brett
Brett at gmail.com
Sun Sep 22 08:34:15 UTC 2019
While we can make a visual project with dub(doesn't seem to work
well) maybe Visual D could use dub?
The idea is that it would use dub to download packages but fix
them up in to the project by simply copying them over(use dub to
download them to a temp location then copy them or some other
method(preferably one that can work with updating packages)). It
would then create a file that imports the packages and such that
can then be imported in to the project.
One of the main issues with Visual D now is that it doesn't have
the ease of getting packages that dub has. It's all manual.
If it just hijacks dub then it could have all the features...
maybe extend dub to work with visual studio by getting the paths
right.(the main feature is simply downloading packages and being
able to update them and all the other features are not really
relevant)
What I'm thinking is an "add package" that pops up a dialog,
lists the already included packages, a text box for adding
another by name(or ideally a list box that lets one search online
like https://code.dlang.org/), and visual d does all the
plumbing... which should be very little if it can be done
correctly.
I can sort of achieve this by using dub to create a project and
then copying over the files manually but it is a pain to manage
it all. Ideally we could add and remove packages pretty easily.
More information about the Digitalmars-d-ide
mailing list