www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - total newbie + IDE

reply solnce <slack000 gmail.com> writes:
Hi guys,

I am total newbie and trying to learn a little bit of programming 
for personal purposes (web scrapping, small databases for 
personal use etc.). I've been trying to install any of IDE 
available, but had no success.

I use Manjaro, so for the most task I use its AUR, where:

Dexed points to obsolete github 
(https://github.com/Basile-z/dexed)

Dlangide is missing dependency (dlangide ~master depends on 
dsymbol ~>0.2.9), dub gives an error:
.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/widgets/editors.d(3797,21):
Deprecation: foreach: loop index implicitly converted from size_t to int
/usr/bin/dmd failed with exit code 1.

So I've stick with Kate for the beginning, but I'll need a decent 
IDE for later.

Please, can anyone help me solving  these problems?

Thank you
S
Feb 07 2020
next sibling parent JN <666total wp.pl> writes:
On Friday, 7 February 2020 at 17:02:18 UTC, solnce wrote:
 Hi guys,

 I am total newbie and trying to learn a little bit of 
 programming for personal purposes (web scrapping, small 
 databases for personal use etc.). I've been trying to install 
 any of IDE available, but had no success.

 [...]
Try Visual Studio Code with Code-D extension.
Feb 07 2020
prev sibling next sibling parent reply bachmeier <no spam.net> writes:
On Friday, 7 February 2020 at 17:02:18 UTC, solnce wrote:
 Hi guys,

 I am total newbie and trying to learn a little bit of 
 programming for personal purposes (web scrapping, small 
 databases for personal use etc.). I've been trying to install 
 any of IDE available, but had no success.

 I use Manjaro, so for the most task I use its AUR, where:

 Dexed points to obsolete github 
 (https://github.com/Basile-z/dexed)

 Dlangide is missing dependency (dlangide ~master depends on 
 dsymbol ~>0.2.9), dub gives an error:
 .dub/packages/dlangui-0.9.182/dlangui/src/dlangui/widgets/editors.d(3797,21):
Deprecation: foreach: loop index implicitly converted from size_t to int
 /usr/bin/dmd failed with exit code 1.

 So I've stick with Kate for the beginning, but I'll need a 
 decent IDE for later.

 Please, can anyone help me solving  these problems?

 Thank you
 S
Apparently Dlangide is no longer maintained, but it hasn't been moved to the inactive list. The AUR for Manjaro must be old. The new Github link for Dexed is https://github.com/akira13641/dexed I think most IDE users have settled on VS Code at this point. Some others do use IntelliJ: https://github.com/intellij-dlanguage/intellij-dlanguage I'd use VS Code if I wanted an IDE just because it's what others use.
Feb 07 2020
parent Basile B. <b2.temp gmx.com> writes:
On Friday, 7 February 2020 at 18:10:07 UTC, bachmeier wrote:
 On Friday, 7 February 2020 at 17:02:18 UTC, solnce wrote:
 Hi guys,

 I am total newbie and trying to learn a little bit of 
 programming for personal purposes (web scrapping, small 
 databases for personal use etc.). I've been trying to install 
 any of IDE available, but had no success.

 I use Manjaro, so for the most task I use its AUR, where:

 Dexed points to obsolete github 
 (https://github.com/Basile-z/dexed)

 [...]
[...] The new Github link for Dexed is https://github.com/akira13641/dexed
No I've reuploaded the most recent version here https://gitlab.com/basile.b/dexed. However, 1. no more binaries 2. don't care about requests anymore. 3. code for the Windows version is not maintained. So it's not recommened for newbies, or only those who can manage things by themselves.
Feb 07 2020
prev sibling next sibling parent reply Borax Man <rotflol2 hotmail.com> writes:
On Friday, 7 February 2020 at 17:02:18 UTC, solnce wrote:
 Hi guys,

 I am total newbie and trying to learn a little bit of 
 programming for personal purposes (web scrapping, small 
 databases for personal use etc.). I've been trying to install 
 any of IDE available, but had no success.

 I use Manjaro, so for the most task I use its AUR, where:

 Dexed points to obsolete github 
 (https://github.com/Basile-z/dexed)

 Dlangide is missing dependency (dlangide ~master depends on 
 dsymbol ~>0.2.9), dub gives an error:
 .dub/packages/dlangui-0.9.182/dlangui/src/dlangui/widgets/editors.d(3797,21):
Deprecation: foreach: loop index implicitly converted from size_t to int
 /usr/bin/dmd failed with exit code 1.

 So I've stick with Kate for the beginning, but I'll need a 
 decent IDE for later.

 Please, can anyone help me solving  these problems?

 Thank you
 S
I've used d-mode with emacs and its been OK. Two other options for Linux are CodeBlocks and Monodevelop, both which have D support. As linked before, dexed is available here https://github.com/akira13641/dexed and I compiled it just a few days ago with success.
Feb 07 2020
parent reply Basile B. <b2.temp gmx.com> writes:
On Saturday, 8 February 2020 at 03:59:22 UTC, Borax Man wrote:
 As linked before, dexed is available here
 https://github.com/akira13641/dexed

 and I compiled it just a few days ago with success.
It is a fork (check the count of commits). The most recent version is here https://gitlab.com/basile.b/dexed.
Feb 08 2020
parent Borax Man <rotflol2 hotmail.com> writes:
On Saturday, 8 February 2020 at 10:46:52 UTC, Basile B. wrote:
 On Saturday, 8 February 2020 at 03:59:22 UTC, Borax Man wrote:
 As linked before, dexed is available here
 https://github.com/akira13641/dexed

 and I compiled it just a few days ago with success.
It is a fork (check the count of commits). The most recent version is here https://gitlab.com/basile.b/dexed.
Ahh, you are correct. In looking for the latest version, I think I tried both. Having a look closer now, it is this version that you quoted which I ended up using.
Feb 08 2020
prev sibling parent reply Marcone <marcone email.com> writes:
You don't need an IDE for run Dlang. I Use "Sublime Text". Very 
good for Dlang.
Feb 08 2020
parent reply solnce <slack000 gmail.com> writes:
On Saturday, 8 February 2020 at 09:26:41 UTC, Marcone wrote:
 You don't need an IDE for run Dlang. I Use "Sublime Text". Very 
 good for Dlang.
I am sorry if my questions appear stupid, but I am very curious. I really enjoy Pascal having Lazarus. Although it is not perfected, it provides very good start for beginners - native IDE, RAD, easy to setup and adjust, integrated debugger. All that beginners need to have for good start at no time cost. It is just language doesn't evolve itself. I was expecting D lang to have something similar,if not an RAD, then native IDE with all that basic functionality support. Now it appears that it is much more complicated - existing native IDE's are (almost) not being maintained, doesn't compile or in similar trouble. And it is after 13 years of in active development and being successor (as it claims so) to C++. ADA has it, Eiffel has it, FPC, Gambino many niche and small languages have it, why D, which has much wider application, cannot have it? I think that is natural further evolution of any programming language. You may think that is not important, but I think it is. Having working IDE within few mouse clicks would greatly contribute to interest in language, attract more users of various levels and skills, help adopt language in universities. I didn't read trough entire forum, but I believe, there should have been a discussion on that. So what are the opinions? Thanks s
Feb 09 2020
next sibling parent reply Martin Brezel <martin.brzenska googlemail.com> writes:
On Sunday, 9 February 2020 at 13:22:56 UTC, solnce wrote:

 I was expecting D lang to have something similar,if not an RAD, 
 then native IDE with all that basic functionality support.
VisualStudioCode seems to be what you are looking for - except I do not fully understand what you mean by "native".
Feb 09 2020
parent solnce <slack000 gmail.com> writes:
On Sunday, 9 February 2020 at 14:32:38 UTC, Martin Brezel wrote:
 On Sunday, 9 February 2020 at 13:22:56 UTC, solnce wrote:

 I was expecting D lang to have something similar,if not an 
 RAD, then native IDE with all that basic functionality support.
VisualStudioCode seems to be what you are looking for - except I do not fully understand what you mean by "native".
By saying Native I mean, written in D and by D team or be closely associated with D. In other words, to be a part of broader D project. Everything what I could find and what works "out of the box" has nothing to do with D and is made work trough plugins mostly. That is disappointing. S
Feb 09 2020
prev sibling parent reply JN <666total wp.pl> writes:
On Sunday, 9 February 2020 at 13:22:56 UTC, solnce wrote:
 I really enjoy Pascal having Lazarus. Although it is not 
 perfected, it provides very good start for beginners - native 
 IDE, RAD, easy to setup and adjust, integrated debugger. All 
 that beginners need to have for good start at no time cost. It 
 is just language doesn't evolve itself.
There isn't anything comparable to RAD for D. There was one being developed in the days od D1 for the DFL UI library - http://www.dprogramming.com/entice.php , but it's been long dead. You can use GLADE to design an interface and then load it in a GtkD.
 And it is after 13 years of in active development and being 
 successor (as it claims so) to C++. ADA has it, Eiffel has it, 
 FPC, Gambino many niche and small languages have it, why D, 
 which has much wider application,  cannot have it? I think that 
 is natural further evolution of any programming language.
I think the text editor/IDE landscape changed a little in last decade or so. Editors such as Sublime Text or Ultraedit lost their popularity, so did small language specific IDEs such as Dev-C++ or Code::blocks. Most of users of these IDEs migrated to the big projects like VSCode, Visual Studio or IntelliJ. Also, the introduction of language servers allows working on IDE support, without being bound to a specific IDE. Editors/IDEs such as VSCode have a massive ecosystem. Why not take advantage of it, rather than start from scratch.
Feb 09 2020
parent reply solnce <slack000 gmail.com> writes:
On Sunday, 9 February 2020 at 18:17:13 UTC, JN wrote:
 On Sunday, 9 February 2020 at 13:22:56 UTC, solnce wrote:
 I really enjoy Pascal having Lazarus. Although it is not 
 perfected, it provides very good start for beginners - native 
 IDE, RAD, easy to setup and adjust, integrated debugger. All 
 that beginners need to have for good start at no time cost. It 
 is just language doesn't evolve itself.
There isn't anything comparable to RAD for D. There was one being developed in the days od D1 for the DFL UI library - http://www.dprogramming.com/entice.php , but it's been long dead. You can use GLADE to design an interface and then load it in a GtkD.
 And it is after 13 years of in active development and being 
 successor (as it claims so) to C++. ADA has it, Eiffel has it, 
 FPC, Gambino many niche and small languages have it, why D, 
 which has much wider application,  cannot have it? I think 
 that is natural further evolution of any programming language.
I think the text editor/IDE landscape changed a little in last decade or so. Editors such as Sublime Text or Ultraedit lost their popularity, so did small language specific IDEs such as Dev-C++ or Code::blocks. Most of users of these IDEs migrated to the big projects like VSCode, Visual Studio or IntelliJ. Also, the introduction of language servers allows working on IDE support, without being bound to a specific IDE. Editors/IDEs such as VSCode have a massive ecosystem. Why not take advantage of it, rather than start from scratch.
No, I understand that and agree - VSCode is impressive and I'll try it, but what is wrong with idea to have a dedicated IDE? At least one. C/C++ has tons of these and many of these are being actively developed, so why D cannot have? Especially when it is aiming to replace C/C++. Argument that VSCode is pretty much enough for most task it is ok, but is not very valid. The same applies to D itself - why to make a new language then when there is C++ around and there is a tons of IDE's for it. Personally I feel this is more about lack of the vision, as Alexandrescu once said. Now it feels like D is mostly the compiler, but I think, that having one big mega project (like IDE+RAD) could give a new breath and significance to D language.
Feb 09 2020
next sibling parent Laurent =?UTF-8?B?VHLDqWd1aWVy?= <laurent.treguier.sink gmail.com> writes:
On Sunday, 9 February 2020 at 22:10:57 UTC, solnce wrote:
 No, I understand that and agree - VSCode is impressive and I'll 
 try it, but what is wrong with idea to have a dedicated IDE? At 
 least one. C/C++ has tons of these and many of these are being 
 actively developed, so why D cannot have? Especially when it is 
 aiming to replace C/C++. Argument that VSCode is pretty much 
 enough for most task it is ok, but is not very valid. The same 
 applies to D itself - why to make a new language then when 
 there is C++ around and there is a tons of IDE's for it.

 Personally I feel this is more about lack of the vision, as 
 Alexandrescu once said. Now it feels like D is mostly the 
 compiler, but I think, that having one big mega project (like 
 IDE+RAD) could give a new breath and significance to D language.
Making an entire IDE would be a lot of work. Making plugins for existing editors is already time consuming, and is less work than building a complete solution. Given how powerful regular editors can be, whether it's VSCode, Vim or Emacs, plugins make for a good compromise bewteen the time spent making the plugin, and the result you get.
Feb 09 2020
prev sibling parent Mike Parker <aldacron gmail.com> writes:
On Sunday, 9 February 2020 at 22:10:57 UTC, solnce wrote:

 Personally I feel this is more about lack of the vision, as 
 Alexandrescu once said. Now it feels like D is mostly the 
 compiler, but I think, that having one big mega project (like 
 IDE+RAD) could give a new breath and significance to D language.
There's absolutely no need for an IDE to be written in D (particularly one that supports RAD -- what would that use? GtkD?). For one thing, it's a massive project for which the D team does not have the resources to achieve. For another, there are already several popular IDEs and text editors for which plugins have been developed by community members. It would be a waste of time and energy for the D team to work on an IDE project. If someone is inspired to write an IDE in D (and some have been in the past), nothing is stopping them.
Feb 09 2020