www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - How to use DUB project in Coedit ?

reply Flaze07 <christianseiji.cs gmail.com> writes:
I have read the documentation, but I understood nothing...I know 
how to use runnable module, but I don't know how to use the DUB 
project in Coedit.
I want to do something similar to this, is there a way ?
https://www.youtube.com/watch?v=oOe0KmCYryI&feature=youtu.be
Jul 02 2018
parent reply Basile B. <b2.temp gmx.com> writes:
On Monday, 2 July 2018 at 12:15:54 UTC, Flaze07 wrote:
 I have read the documentation, but I understood nothing...I 
 know how to use runnable module, but I don't know how to use 
 the DUB project in Coedit.
 I want to do something similar to this, is there a way ?
 https://www.youtube.com/watch?v=oOe0KmCYryI&feature=youtu.be
- Menu "project", New project, DUB json - Menu "project", Save project as... Then - Edit project, two ways: - Menu "Windows", DUB project editor (to edit in an UI) - Menu "Project", Edit project file (to edit JSON directly) Dont forget to: - save the project - use the "arrow update" icon in the project editor or the project inspector to detect new files or external changes.
Jul 02 2018
parent reply Flaze07 <christianseiji.cs gmail.com> writes:
On Monday, 2 July 2018 at 13:21:45 UTC, Basile B. wrote:
 On Monday, 2 July 2018 at 12:15:54 UTC, Flaze07 wrote:
 I have read the documentation, but I understood nothing...I 
 know how to use runnable module, but I don't know how to use 
 the DUB project in Coedit.
 I want to do something similar to this, is there a way ?
 https://www.youtube.com/watch?v=oOe0KmCYryI&feature=youtu.be
- Menu "project", New project, DUB json - Menu "project", Save project as... Then - Edit project, two ways: - Menu "Windows", DUB project editor (to edit in an UI) - Menu "Project", Edit project file (to edit JSON directly) Dont forget to: - save the project - use the "arrow update" icon in the project editor or the project inspector to detect new files or external changes.
hmm...what about compiling it and running it ? I tried to compile it with dub and run it once, and...it never run
Jul 02 2018
parent Basile B. <b2.temp gmx.com> writes:
On Monday, 2 July 2018 at 13:57:37 UTC, Flaze07 wrote:
 On Monday, 2 July 2018 at 13:21:45 UTC, Basile B. wrote:
 On Monday, 2 July 2018 at 12:15:54 UTC, Flaze07 wrote:
 [...]
- Menu "project", New project, DUB json - Menu "project", Save project as... Then - Edit project, two ways: - Menu "Windows", DUB project editor (to edit in an UI) - Menu "Project", Edit project file (to edit JSON directly) Dont forget to: - save the project - use the "arrow update" icon in the project editor or the project inspector to detect new files or external changes.
hmm...what about compiling it and running it ? I tried to compile it with dub and run it once, and...it never run
It's in the "Project" menu ("Compilation" as well), "Compile project and run", "Run project", etc. There are even one item allowing to pass supplemental args in a dialog.
Jul 02 2018