How to get serve-d to find dub dependencies

Renato renato at athaydes.com
Sat Dec 23 16:13:01 UTC 2023


I am trying to use dependencies, so I need dub.

On emacs, the imports from dub libraries cannot be found, even 
though dub can build it fine.

How can I get emacs/serve-d to "see" the libraries added by dub?

I found that dub has a command for letting the compiler know 
about the load paths:

```
dub describe --data=import-paths
```

This shows the correct paths for the project, so perhaps I can 
pass this to serve-d somehow?


More information about the Digitalmars-d-learn mailing list