Jump to page: 1 2
Thread overview
Recommend: IDE and GUI library
Feb 24, 2017
XavierAP
Feb 25, 2017
Moritz Maxeiner
Feb 25, 2017
evilrat
Feb 25, 2017
Jacob Carlborg
Feb 25, 2017
XavierAP
Feb 25, 2017
Moritz Maxeiner
Feb 28, 2017
thedeemon
Mar 01, 2017
XavierAP
Mar 01, 2017
thedeemon
Mar 01, 2017
XavierAP
Mar 02, 2017
evilrat
Mar 02, 2017
Patrick Schluter
Re: recommend Git GUI client for Linux?
Mar 25, 2017
XavierAP
Mar 02, 2017
thedeemon
Mar 01, 2017
aberba
Mar 26, 2017
Soulsbane
February 24, 2017
Hi I've looked at wiki.dlang.org/IDEs, and I see that Visual D is linked from dlang.org/download.html. Still I was looking for personal opinions and experiences beyond hard specs, I wonder if one of the IDEs is already dominant at least for each OS for any good reason.

My requirements are quite ordinary: make x64, debug, go to definition, manage projects, code completion. My platform is Windows; interested if the choice would be different for Linux, if the same nice, otherwise I'd prefer to use whatever is best on each OS.

And second question, is DWT the de facto standard for creating GUIs? Or are there good competitors.

Sorry if I'm asking something too obvious, though I've looked around for answers before. And I've also searched the forum but really equivalent questions were over 2 years old and many things may have changed.
Thanks!
February 25, 2017
On Friday, 24 February 2017 at 22:44:55 UTC, XavierAP wrote:
> Hi I've looked at wiki.dlang.org/IDEs, and I see that Visual D is linked from dlang.org/download.html. Still I was looking for personal opinions and experiences beyond hard specs, I wonder if one of the IDEs is already dominant at least for each OS for any good reason.
>
> My requirements are quite ordinary: make x64, debug, go to definition, manage projects, code completion. My platform is Windows; interested if the choice would be different for Linux, if the same nice, otherwise I'd prefer to use whatever is best on each OS.

I use Visual Studio Code on Linux and macOS, not sure how the experience on Windows is, but I'd expect it to be the same. With the dlang extension[1], the usual development tools dcd, dfmt, dscanner, dfix (see code.dlang.org for these), and the native debug extension[2] all your requirements are covered. After the setup everything has been working smoothly and I'm very happy with it.
The *only* little gripe about it is that Visual Studio Code uses the Electron framework and drains about 10-20% more power than e.g. neovim, though the comparison is apples vs oranges.

>
> And second question, is DWT the de facto standard for creating GUIs? Or are there good competitors.

AFAIK there is no standard in creating GUIs with D. I suppose if any one of them has what it takes to take that position in the future it'd be dlangui[3], but considering the issue tracker and the manpower available that'll likely still take a while.
In the meantime I personally use dqml[4] (QtQuick 2.0 bindings) since I like MVC, and this allows me to write application logic and model in D, visual in QML, and controller in JS (and this also allows me to swap out the application core without changing a single line in the QML or JS).

>
> Sorry if I'm asking something too obvious, though I've looked around for answers before.

If it's obvious, I missed it myself; I pretty much tried out all the GUI/TUI things on code.dlang.org until I found something I liked.

[1] https://github.com/dlang-vscode/dlang-vscode
[2] https://github.com/WebFreak001/code-debug
[3] https://github.com/buggins/dlangui
[4] https://github.com/filcuc/dqml
February 25, 2017
On Saturday, 25 February 2017 at 00:45:24 UTC, Moritz Maxeiner wrote:
>
> I use Visual Studio Code on Linux and macOS, not sure how the experience on Windows is, but I'd expect it to be the same.
>

Windows is fine, can also debug mscoff x86 or x64 projects with MS 'cpptools' plugin that has visual studio debugger for C++
February 25, 2017
On 2017-02-24 23:44, XavierAP wrote:

> And second question, is DWT the de facto standard for creating GUIs? Or
> are there good competitors.

There's no de factor library for creating GUIs in D. If you want a native look and feel, DWT is a good option. If you want the application to look the same on all platforms, there might be other better suited alternatives.

-- 
/Jacob Carlborg
February 25, 2017
On Saturday, 25 February 2017 at 20:03:17 UTC, Jacob Carlborg wrote:
> There's no de factor library for creating GUIs in D. If you want a native look and feel, DWT is a good option. If you want the application to look the same on all platforms, there might be other better suited alternatives.

It's not GUI projects that I would plan to work on, just something easy with basic functionality that I can use for my own utilities or test clients for libraries. And if there's anything with any kind of designer support (in which IDE)...
February 25, 2017
On Saturday, 25 February 2017 at 21:26:32 UTC, XavierAP wrote:
> It's not GUI projects that I would plan to work on, just something easy with basic functionality that I can use for my own utilities or test clients for libraries. And if there's anything with any kind of designer support (in which IDE)...

Well, if you use dqml you can use the official QML designer "Qt Quick Designer"[1].

You can also use GtkD[2], which supports loading[3] Glade[4] files.

[1] http://doc.qt.io/qtcreator/creator-using-qt-quick-designer.html
[2] https://github.com/gtkd-developers/GtkD
[3] https://github.com/gtkd-developers/GtkD/blob/master/demos/builder/builderTest.d
[4] https://glade.gnome.org/
February 28, 2017
On Friday, 24 February 2017 at 22:44:55 UTC, XavierAP wrote:
> Hi I've looked at wiki.dlang.org/IDEs, and I see that Visual D is linked from dlang.org/download.html. Still I was looking for personal opinions and experiences beyond hard specs, I wonder if one of the IDEs is already dominant at least for each OS for any good reason.

I don't think there is anything dominant, different people tend to make different choices.
For me Visual-D served well for years, and for GUI on Windows I've used DFL successfully (quite nice lib, very WinForms-like, with a visual editor) and now mostly use DLangUI (on both Windows and Linux).
March 01, 2017
On Tuesday, 28 February 2017 at 06:16:08 UTC, thedeemon wrote:
> For me Visual-D served well for years, and for GUI on Windows I've used DFL successfully (quite nice lib, very WinForms-like, with a visual editor) and now mostly use DLangUI (on both Windows and Linux).

I'm trying now DlangUI on Visual D. I'm getting different errors from missing Derelict library dependencies... I see at github.com these are "subrepos" but after cloning the subrepo directories are still empty. Sorry this is my first time using Git/GitHub (used Mercurial and TortoiseHg at work, which I think would have cloned the subrepos without additional action). What am I missing?
March 01, 2017
On Wednesday, 1 March 2017 at 17:37:02 UTC, XavierAP wrote:
> I'm trying now DlangUI on Visual D. I'm getting different errors from missing Derelict library dependencies...

If you're building your app with VisualD (as opposed to invoking dub externally), make sure you've set up import paths in project settings properly. Two paths must be there: one like
C:\Users\...\AppData\Roaming\dub\packages\dlangui-0.9.46\dlangui\src\
and the other like
C:\Users\...\AppData\Roaming\dub\packages\dlangui-0.9.46\dlangui\3rdparty\
and in linker tab of project settings make sure you link to the dlangui.lib you should have built beforehand.
Also, if you use "minimal" configuration of DLangUI (which I recommend) you can remove mentions of SDL and GL from its dependencies in its dub.json, this way there are less things for compiler and VisualD to look for.
March 01, 2017
On Friday, 24 February 2017 at 22:44:55 UTC, XavierAP wrote:
> Hi I've looked at wiki.dlang.org/IDEs, and I see that Visual D is linked from dlang.org/download.html. Still I was looking for personal opinions and experiences beyond hard specs, I wonder if one of the IDEs is already dominant at least for each OS for any good reason.
>
> My requirements are quite ordinary: make x64, debug, go to definition, manage projects, code completion. My platform is Windows; interested if the choice would be different for Linux, if the same nice, otherwise I'd prefer to use whatever is best on each OS.
>
> And second question, is DWT the de facto standard for creating GUIs? Or are there good competitors.
>
> Sorry if I'm asking something too obvious, though I've looked around for answers before. And I've also searched the forum but really equivalent questions were over 2 years old and many things may have changed.
> Thanks!

Gtkd is obviously defacto for Linux ONLY, dlangui for cross platform app without native feel. But if you want something easy and flexible with native look and feel on all platforms, well tested, use LibUI (http://code.dlang.org/packages/libuid). Look inside the "examples" folder in their Github repository to see example usage.

More like:
 auto hbox = new Box(false).setPadded(1);
 vbox.append(hbox);

hbox.append(new Button("Button"))
    .append(new Checkbox("Checkbox"))
...

Examples:
https://github.com/mogud/libuid/blob/master/examples/example1.d
https://github.com/mogud/libuid/blob/master/examples/example2.d



« First   ‹ Prev
1 2