Eclipse DDT Include Path

number putimalitze at gmx.de
Sat Sep 30 18:34:21 UTC 2017


On Thursday, 28 September 2017 at 17:52:52 UTC, number wrote:
> I'm using Eclipse with DDT but it does not find all of the 
> imports
>
> In my dub.json i have
>   "importPaths" : ["/usr/include/dmd/gtkd3"],
>
> and this works well with dub but in Eclipse the 'Open 
> Definition' feature does not work with 'gtk.Window' for example 
> and gives an error: 'Symbol gtk.Window has no source range 
> info!'.
> It works with 'std.stdio' etc.
>
> should i add the path to dmd.conf directly or can i set it only 
> for the project in eclipse?

Adding to dmd.conf did not help with Eclipse. I also did not know 
that the DDT is discontinued. Then i tried Intellij but i had the 
same problem there. Now i'm quite happy with MonoDevelop. The 
only issue is that it keeps spawning gdb instances that i have to 
kill from time to time.



More information about the Digitalmars-d-ide mailing list