www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What programming tools do you usually use?

reply Dr Machine Code <jckj33 gmail.com> writes:
willing to learn what [programming 
tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
guys use when coding in D. Maybe there are something new out 
there. The tools aside from the usual 
compiler(dmd/ldc/gdc)/debugger/dub
Nov 12 2021
next sibling parent Greg Strong <mageofmaple protonmail.com> writes:
On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
I use Microsoft Visual Studio with Visual D.
Nov 12 2021
prev sibling next sibling parent reply forkit <forkit gmail.com> writes:
On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
myself, cause nothing out there did what it wanted it to do. I call it EZ Compiler. Here is screen dump of it (not sure how long link lasts) https://imgur.com/a/PvBm2q4
Nov 12 2021
next sibling parent reply Dr Machine Code <jckj33 gmail.com> writes:
On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:
 On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
 wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
myself, cause nothing out there did what it wanted it to do. I call it EZ Compiler. Here is screen dump of it (not sure how long link lasts) https://imgur.com/a/PvBm2q4
Do you use it like a REPL window?
Nov 12 2021
parent reply forkit <forkit gmail.com> writes:
On Friday, 12 November 2021 at 22:38:48 UTC, Dr Machine Code 
wrote:
 On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:
 On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
 wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
myself, cause nothing out there did what it wanted it to do. I call it EZ Compiler. Here is screen dump of it (not sure how long link lasts) https://imgur.com/a/PvBm2q4
Do you use it like a REPL window?
It's as close as I want to getting a REPL window, but no closer. I don't like tools that do too much for you 'automatically' .. like that godbolt thing, which reacts to every key stroke... that really bugs me!! I still prefer to manage the code|run|display loop myself ;-)
Nov 12 2021
parent Dr Machine Code <jckj33 gmail.com> writes:
On Friday, 12 November 2021 at 23:22:44 UTC, forkit wrote:
 On Friday, 12 November 2021 at 22:38:48 UTC, Dr Machine Code 
 wrote:
 On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:
 On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
 wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do 
 you guys use when coding in D. Maybe there are something new 
 out there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
myself, cause nothing out there did what it wanted it to do. I call it EZ Compiler. Here is screen dump of it (not sure how long link lasts) https://imgur.com/a/PvBm2q4
Do you use it like a REPL window?
It's as close as I want to getting a REPL window, but no closer.
doesn't support D? I love REPL window, a shame (as far I know) boring create a new file, going to terminal etc just to test a piece of code
 I don't like tools that do too much for you 'automatically' .. 
 like that godbolt thing, which reacts to every key stroke... 
 that really bugs me!!
that bugs me too, I hate that thing
 I still prefer to manage the code|run|display loop myself ;-)
me too
Nov 12 2021
prev sibling parent reply forkit <forkit gmail.com> writes:
On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:

 myself, cause nothing out there did what it wanted it to do.

 I call it EZ Compiler.

 Here is screen dump of it (not sure how long link lasts)

 https://imgur.com/a/PvBm2q4
This pic is much better pic of it, as it shows 'actual' D code ;-) https://imgur.com/a/8mm0Fdi
Nov 12 2021
next sibling parent reply Dr Machine Code <jckj33 gmail.com> writes:
On Friday, 12 November 2021 at 23:45:38 UTC, forkit wrote:
 On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:

 myself, cause nothing out there did what it wanted it to do.

 I call it EZ Compiler.

 Here is screen dump of it (not sure how long link lasts)

 https://imgur.com/a/PvBm2q4
This pic is much better pic of it, as it shows 'actual' D code ;-) https://imgur.com/a/8mm0Fdi
that sounds interesting, is this tool available to public? as REPL window for D it would be useful
Nov 12 2021
next sibling parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Friday, 12 November 2021 at 23:50:31 UTC, Dr Machine Code 
wrote:
 On Friday, 12 November 2021 at 23:45:38 UTC, forkit wrote:
 On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:

 myself, cause nothing out there did what it wanted it to do.

 I call it EZ Compiler.

 Here is screen dump of it (not sure how long link lasts)

 https://imgur.com/a/PvBm2q4
This pic is much better pic of it, as it shows 'actual' D code ;-) https://imgur.com/a/8mm0Fdi
that sounds interesting, is this tool available to public? as REPL window for D it would be useful
Disclaimer: this is *not* a repl by any means. I was just toying around with how fast compiles are: https://github.com/Imperatorn/repel-d I called it repel-d because I was repelled by it at first. But it "works" and I can evaluate stuff in it pretty easy and do stuff with the last output etc.
Nov 12 2021
next sibling parent forkit <forkit gmail.com> writes:
On Saturday, 13 November 2021 at 00:10:39 UTC, Imperatorn wrote:
 Disclaimer: this is *not* a repl by any means. I was just 
 toying around with how fast compiles are:
 https://github.com/Imperatorn/repel-d

 I called it repel-d because I was repelled by it at first.

 But it "works" and I can evaluate stuff in it pretty easy and 
 do stuff with the last output etc.
that really interesting actually. It's what just gave me the idea to implement 'Top Level statements' in EZ. Thanks ;-)
Nov 12 2021
prev sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Saturday, 13 November 2021 at 00:10:39 UTC, Imperatorn wrote:
 On Friday, 12 November 2021 at 23:50:31 UTC, Dr Machine Code 
 wrote:
 On Friday, 12 November 2021 at 23:45:38 UTC, forkit wrote:
 On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:

 myself, cause nothing out there did what it wanted it to do.

 I call it EZ Compiler.

 Here is screen dump of it (not sure how long link lasts)

 https://imgur.com/a/PvBm2q4
This pic is much better pic of it, as it shows 'actual' D code ;-) https://imgur.com/a/8mm0Fdi
that sounds interesting, is this tool available to public? as REPL window for D it would be useful
Disclaimer: this is *not* a repl by any means. I was just toying around with how fast compiles are: https://github.com/Imperatorn/repel-d I called it repel-d because I was repelled by it at first. But it "works" and I can evaluate stuff in it pretty easy and do stuff with the last output etc.
Some examples: To evaluate 2+2 just write that and it will show 4. like: To evaluate some raw code, type r and then the code, like to get some "Processor Info and Feature Bits": r uint x; asm { mov EAX, 1; cpuid; mov x, EDX; }; writefln("%b", x); To print something there's a shorthand "f " which just uses writefln, like f "%d is %b in binary", 23, 23 would print 23 is 10111 in binary To execute something in the external environment there's "e ", like for example: e cat repl.d | grep "case" would output case "e ": case "f ": case "r ": Then there's a special mysterious thing. You can apparently do curl stuff there. So like net.get("dlang.org") would get dlang.org and you could use that later in the same way. Example: net.get("dlang.org").hashOf would print the hash of what's returned and then to check
Nov 12 2021
prev sibling parent reply forkit <forkit gmail.com> writes:
On Friday, 12 November 2021 at 23:50:31 UTC, Dr Machine Code 
wrote:
 that sounds interesting, is this tool available to public?
No. As Ken Thompson would say, I don't want to be the [drug] pusher ;-) Today I'm thinking about adding a new feature 'Top level statements for D' .. ..so that I can just write this: // ------------------ printHello(); void printHello() { writeln("Hello world!"); } // ---------------------- EZ Compiler will create the necessary scaffolding.. i.e. import std; and main()
Nov 12 2021
parent Dr Machine Code <jckj33 gmail.com> writes:
On Saturday, 13 November 2021 at 00:34:33 UTC, forkit wrote:
 On Friday, 12 November 2021 at 23:50:31 UTC, Dr Machine Code 
 wrote:
 that sounds interesting, is this tool available to public?
No. As Ken Thompson would say, I don't want to be the [drug] pusher ;-)
oh i see. If I didn't got such tool anywhere, I may need to wrote one myself
 Today I'm thinking about adding a new feature 'Top level 
 statements for D' ..

 ..so that I can just write this:

 // ------------------
 printHello();

 void printHello()
 {
     writeln("Hello world!");
 }
 // ----------------------


 EZ Compiler will create the necessary scaffolding.. i.e. import 
 std; and main()
that's also interesting, Linqpad has something to dump statements too
Nov 12 2021
prev sibling parent reply Vinod K Chandran <kcvinu82 gmail.com> writes:
On Friday, 12 November 2021 at 23:45:38 UTC, forkit wrote:
 On Friday, 12 November 2021 at 22:33:00 UTC, forkit wrote:

 myself, cause nothing out there did what it wanted it to do.

 I call it EZ Compiler.

 Here is screen dump of it (not sure how long link lasts)

 https://imgur.com/a/PvBm2q4
This pic is much better pic of it, as it shows 'actual' D code ;-) https://imgur.com/a/8mm0Fdi
Try ScintillsNet. You can have the luxury of syntax coloring.
Nov 13 2021
next sibling parent Vinod K Chandran <kcvinu82 gmail.com> writes:
On Saturday, 13 November 2021 at 22:13:55 UTC, Vinod K Chandran 
wrote:

 Try ScintillsNet. You can have the luxury of syntax coloring.
Sorry, "ScintillaNet".
Nov 13 2021
prev sibling parent reply forkit <forkit gmail.com> writes:
On Saturday, 13 November 2021 at 22:13:55 UTC, Vinod K Chandran 
wrote:
 Try ScintillsNet. You can have the luxury of syntax coloring.
grr!! I really hate syntax coloring.. or anything, that does anything, to my code... whatsoever. These kinds of features are all competing for my attention, and I find it really annoying. That's (yet another reason) why I wrote my own IDE. Actually I do syntax color one thing, and one thing only... "main(" .. the background of that text is highlighted in bright green, so I know straight away where main function is. but thanks for the suggestion :-)
Nov 13 2021
next sibling parent Greg Strong <mageofmaple protonmail.com> writes:
On Saturday, 13 November 2021 at 23:58:22 UTC, forkit wrote:
 grr!! I really hate syntax coloring.. or anything, that does 
 anything, to my code... whatsoever. These kinds of features are 
 all competing for my attention, and I find it really annoying.
Most syntax coloring schemes I find overpowering, but I think at a minimum, having the comments a different color so that it is instantly obvious what is code and what is not is helpful.
Nov 13 2021
prev sibling parent reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Sat, Nov 13, 2021 at 11:58:22PM +0000, forkit via Digitalmars-d wrote:
 On Saturday, 13 November 2021 at 22:13:55 UTC, Vinod K Chandran wrote:
 
 Try ScintillsNet. You can have the luxury of syntax coloring.
grr!! I really hate syntax coloring.. or anything, that does anything, to my code... whatsoever. These kinds of features are all competing for my attention, and I find it really annoying.
Wow. I'm surprised that I'm not the only one here who hates syntax highlighting. :-D
 That's (yet another reason) why I wrote my own IDE.
I just use Vim. ;-) Linux is my IDE. :-P
 Actually I do syntax color one thing, and one thing only...
 
 "main("
 
  .. the background of that text is highlighted in bright green, so I
  know straight away where main function is.
[...] I don't even need that, I just type `/main` and it takes me right there. :-D No highlighting necessary, I can code over ssh to a remote host. Trying to do that with an IDE is ... painfully slow, among other painful things. T -- Recently, our IT department hired a bug-fix engineer. He used to work for Volkswagen.
Nov 13 2021
parent NotSpooky <dontemailmeplease spooks.org> writes:
On Sunday, 14 November 2021 at 02:04:04 UTC, H. S. Teoh wrote:
 I just use Vim. ;-)  Linux is my IDE. :-P


 T
Same here
Nov 14 2021
prev sibling next sibling parent Alexey <invalid email.address> writes:
On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
I'm currently stick with jEdit. I'm going to write my own editor after a while. for Go I'm using liteide.
Nov 12 2021
prev sibling next sibling parent reply zjh <fqbqrr 163.com> writes:
On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
wrote:
 willing to learn what [programming tools]
Why doesn't anyone investigate your most commonly used libraries (not limited to languages)?
Nov 12 2021
parent Dr Machine Code <jckj33 gmail.com> writes:
On Saturday, 13 November 2021 at 01:12:26 UTC, zjh wrote:
 On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
 wrote:
 willing to learn what [programming tools]
Why doesn't anyone investigate your most commonly used libraries (not limited to languages)?
that's also interesting idea. I was just interested in D programming tools when I created the threat, willing to find out new tools around
Nov 12 2021
prev sibling next sibling parent reply Dadoum <contact dadoum.ml> writes:
On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
I use CLion with D Language plugin and my CMake-d fork. It works really well and allows me to use both Dub packages and CMake C++ libraries. (It just misses some Dub quirks and tracking compiler files to rebuild)
Nov 12 2021
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Saturday, 13 November 2021 at 01:36:00 UTC, Dadoum wrote:
 On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
 wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
I use CLion with D Language plugin and my CMake-d fork. It works really well and allows me to use both Dub packages and CMake C++ libraries. (It just misses some Dub quirks and tracking compiler files to rebuild)
What about debugging?
Nov 12 2021
parent Dadoum <contact dadoum.ml> writes:
On Saturday, 13 November 2021 at 01:44:07 UTC, Imperatorn wrote:
 On Saturday, 13 November 2021 at 01:36:00 UTC, Dadoum wrote:
 On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
 wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
I use CLion with D Language plugin and my CMake-d fork. It works really well and allows me to use both Dub packages and CMake C++ libraries. (It just misses some Dub quirks and tracking compiler files to rebuild)
What about debugging?
It works.
Nov 12 2021
prev sibling parent JN <666total wp.pl> writes:
On Friday, 12 November 2021 at 21:05:05 UTC, Dr Machine Code 
wrote:
 willing to learn what [programming 
 tools](https://en.wikipedia.org/wiki/Programming_tool) do you 
 guys use when coding in D. Maybe there are something new out 
 there. The tools aside from the usual 
 compiler(dmd/ldc/gdc)/debugger/dub
I'm using VSCode. The only other D-related tool I use is Dstep to generate bindings for C libraries.
Nov 13 2021