www.digitalmars.com         C & C++   DMDScript  

D.gnu - Setting up auto-completion of code in monodevelop?

reply "Alyx" <the.lizard.gamer gmail.com> writes:
So I have gdc set up on my linux(64) machine with monodevelop and
mono-d installed. Now I'm not sure where the location of the
phobes/auto-completion is.

With the normal dmd you'd put
      /usr/include/x86_64-linux-gnu/dmd/druntime/import
      /usr/include/x86_64-linux-gnu/dmd/phobos
into the include section of the addon for monodevelop

I'm not sure what I'd put for using the gdc front-end.
Jul 20 2013
parent reply Johannes Pfau <nospam example.com> writes:
Am Sun, 21 Jul 2013 08:47:11 +0200
schrieb "Alyx" <the.lizard.gamer gmail.com>:

 So I have gdc set up on my linux(64) machine with monodevelop and
 mono-d installed. Now I'm not sure where the location of the
 phobes/auto-completion is.
 
 With the normal dmd you'd put
       /usr/include/x86_64-linux-gnu/dmd/druntime/import
       /usr/include/x86_64-linux-gnu/dmd/phobos
 into the include section of the addon for monodevelop
 
 I'm not sure what I'd put for using the gdc front-end.
If you installed gdc into /opt/gdc it's /opt/gdc/include/d/4.8.1/ and maybe /opt/gdc/include/d/4.8.1/x86_64-unknown-linux-gnu/ (I'm not sure if monodevelop looks into those subdirs automatically)
Jul 21 2013
parent "Alyx" <the.lizard.gamer gmail.com> writes:
On Sunday, 21 July 2013 at 07:09:41 UTC, Johannes Pfau wrote:
 Am Sun, 21 Jul 2013 08:47:11 +0200
 schrieb "Alyx" <the.lizard.gamer gmail.com>:

 So I have gdc set up on my linux(64) machine with monodevelop 
 and
 mono-d installed. Now I'm not sure where the location of the
 phobes/auto-completion is.
 
 With the normal dmd you'd put
       /usr/include/x86_64-linux-gnu/dmd/druntime/import
       /usr/include/x86_64-linux-gnu/dmd/phobos
 into the include section of the addon for monodevelop
 
 I'm not sure what I'd put for using the gdc front-end.
If you installed gdc into /opt/gdc it's /opt/gdc/include/d/4.8.1/ and maybe /opt/gdc/include/d/4.8.1/x86_64-unknown-linux-gnu/ (I'm not sure if monodevelop looks into those subdirs automatically)
Ok well mines in /usr/include/d2/4.6.4/x86_64-linux-gnu /usr/include/d2/4.6.4/ after including that it still didn't have any effect. Though I tried the normal dmd with the linking to the phobes and druntime and then it worked. I'm presuming there is an error with plugin reading those files relating to the gdc front end.
Jul 21 2013