gdalle
July 8, 2023, 8:50pm
17
I concur with your diagnosis @algunion , see my investigation here:
Let’s say I’m developing a package called MyPackage and I have activated its Project.toml. It has one dependency called MyDependency, and one test depency called MyTestDependency.
After some exploration, it seems that IntelliSense…
works for MyDependency if either one of the following conditions is satisfied
there is a using MyDependency statement at the top of my file
my file is in src/ and included in the module MyPackage (which also contains the using MyDependency statement)
never works…
I think if @kellertuer is correct I will switch to pkg> dev
-ing the package I develop in a shared environment. However I discovered that this has issues too:
Following a recent discussion on dev environments , I tried this new workflow of using a shared environment.
But when I used pkg> dev . on a locally downloaded package with extensions (aka weakdeps, introduced in Julia 1.9), this failed spectacularly.
See here for a reproducible example with a lightweight package of mine called HiddenMarkovModels.jl:
https://asciinema.org/a/595665
The error is the following one (HMMBase.jl is a weakdep of HiddenMarkovModels.jl):
ERROR: `HiddenMarkovModels=8…
1 Like