digitalmars.D.ide - Could Visual D integrate dub?
- Brett (24/24) Sep 22 2019 While we can make a visual project with dub(doesn't seem to work
- rikki cattermole (3/3) Sep 22 2019 Alternatively VisualD could do what every other IDE does and supports
- Brett (10/13) Sep 24 2019 One can generate a VS/VD file in dub(or could) that somewhat
- Shadowblitz16 (6/20) Oct 20 2019 I would like this.
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.
Sep 22 2019
Alternatively VisualD could do what every other IDE does and supports dub as a project file (solution in VS speak). Simple in theory.
Sep 22 2019
On Sunday, 22 September 2019 at 15:33:14 UTC, rikki cattermole wrote:Alternatively VisualD could do what every other IDE does and supports dub as a project file (solution in VS speak). Simple in theory.One can generate a VS/VD file in dub(or could) that somewhat works... but it requires one to still deal with dub. I do not like dub I'd rather not deal with it. Alternatively VD could just be a simple packet manager. All it has to do is download them and unzip and add to the project dir but also have the ability to remove(probably dealing from project dir would work fine)... ideally have an interface to list, search, the repository, etc... but not necessary.
Sep 24 2019
On Tuesday, 24 September 2019 at 08:03:21 UTC, Brett wrote:On Sunday, 22 September 2019 at 15:33:14 UTC, rikki cattermole wrote:I would like this. something simple like nuget which downloads your libaries and the ability to install and uninstall packages through a gui sounds so nice.Alternatively VisualD could do what every other IDE does and supports dub as a project file (solution in VS speak). Simple in theory.One can generate a VS/VD file in dub(or could) that somewhat works... but it requires one to still deal with dub. I do not like dub I'd rather not deal with it. Alternatively VD could just be a simple packet manager. All it has to do is download them and unzip and add to the project dir but also have the ability to remove(probably dealing from project dir would work fine)... ideally have an interface to list, search, the repository, etc... but not necessary.
Oct 20 2019