www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Cannot install D in Eclipse on OSX

reply Mark <mark markewhite.com> writes:
Hi,

I've tried to install D in both Eclipse Mars and Neon. Loading it 
directly from the Help/Marketplace gave me all the right prompts, 
but after I restarted eclipse, D was not installed and I couldn't 
find it in preferences nor when I tried to open a new project.

I got the same result when I used the Eclipse Help/install new 
programs option, downloaded the osx binary tarball from 
https://code.dlang.org/download. the file I downloaded was 
dub-0.9.25-osx-x86_64.tar.gz. I also tried downloading DMD from 
https://dlang.org/dmd-osx.html. This correctly installed a 
command line compiler, and gave correct results when I ran the 
hello.d program.

There must be a better way!

I'll be overwhelmed with sweat if somebody can either clarify how 
I can make the installation or hold my hand as I go through 
installation.

Thanks.
Jun 15 2016
parent Bruno Medeiros <bruno.do.medeiros+dng gmail.com> writes:
On 15/06/2016 17:38, Mark wrote:
 Hi,

 I've tried to install D in both Eclipse Mars and Neon. Loading it
 directly from the Help/Marketplace gave me all the right prompts, but
 after I restarted eclipse, D was not installed and I couldn't find it in
 preferences nor when I tried to open a new project.

 I got the same result when I used the Eclipse Help/install new programs
 option, downloaded the osx binary tarball from
 https://code.dlang.org/download. the file I downloaded was
 dub-0.9.25-osx-x86_64.tar.gz. I also tried downloading DMD from
 https://dlang.org/dmd-osx.html. This correctly installed a command line
 compiler, and gave correct results when I ran the hello.d program.

 There must be a better way!

 I'll be overwhelmed with sweat if somebody can either clarify how I can
 make the installation or hold my hand as I go through installation.

 Thanks.
I'm not sure I understood you correctly, but whre you expect D itself (D compiler, DUB) to be installed as part of the DDT installation? DDT is not meant to do that. Quoting from the configuration section: "A D installation is required for most IDE functionality, as well as the DUB tool." (https://github.com/DDT-IDE/DDT/blob/latest/documentation/UserGuide.md#configuration) Sure, it's not as integrated as VisualStudio or even Eclipse JDT, but it's not really a big issue, to have to download these tools separately. (and DUB will soon be included with D distro) -- Bruno Medeiros https://twitter.com/brunodomedeiros
Jun 22 2016