Closed extrawurst closed 9 years ago
The public import stuff is working - it's able to find UEComponent. Couldn't it simply be the fact that gl3n is missing? -- Or some of the include paths aren't interpreted properly.
maybe its because another third library is where vec3 is in and the unecht lib just publicly imports it?
are you able to get completion for gl3n?
now we get closer. yeah i dont get any completion for any lib that is not a DIRECT dependency of the helloworld app.
Is any gl3n library shown in the project pad? Or can you access gl3n stuff from derelict sources? It's a difference between having stuff loaded but not referenced and having it referenced but not loaded at all.
gl3n shows up in the project pad perfectly fine..
why do we keep playing this q&a game when all u have to do to answer those questions is git clone and look for yourself ? :)
and yes i get completion for gl3n stuff in the unecht-lib which is a dependency of helloworld and has gl3n as a direkt dependency
so i guess the only question is: should mono-d autocomplete indirect dependencies that come two levels down the dependency tree. right now dub build this just fine so i guess mono-d should allow completion there too...
This involves changing the entire API heavily..but well, let's see.
There probably will be some null-ref-exceptions throwing around, but the unittests are passing. Editing should work just as normal.
the proposed use case (my helloworld app) still gives no completion for gl3n types.. please download the repro project
regarding my github project (for repro: https://github.com/Extrawurst/unecht):
type
vec3
cannot be found (goto-def or something): https://github.com/Extrawurst/unecht/blob/master/samples/helloworld/source/app.d#L29the type get imported using
import unecht
: https://github.com/Extrawurst/unecht/blob/master/samples/helloworld/source/app.d#L3which has a
public import gl3n.linalg;
and thats where typevec3
is definedsee: