dlang-community / DCD

The D Completion Daemon is an auto-complete program for the D programming language
GNU General Public License v3.0
349 stars 71 forks source link

Custom object.d should be included by default #688

Open ryuukk opened 2 years ago

ryuukk commented 2 years ago

Right now, only the default object.d is automatically included for implicit code completion

But when developing custom runtimes, a custom object.d is used to overwrite the default one, the problem is DCD only expect one object module from the default runtime

I suspect the problematic code is here:

https://github.com/dlang-community/DCD/blob/29dba75ce93999c7346ea9745e42e2e8b0626f81/dsymbol/src/dsymbol/conversion/first.d#L362-L383

It should be able to differentiate the object.d from the runtime from the custom one