I have a question about VSCode/Julia. I’ve already downloaded a repo from github and, in VSCode, I’ve selected the Julia environment to be the directory of the repo containing the Manifest.toml.
If I am developing within the src
directory VSCode can do find definition
(F12).
However, if I want to use find definition
in a file that’s importing MyPackage
, we run into problems. Here’s what happens in the tests/mytest.jl
file if I do a find definition
for MyPackage
This confuses me because if MyPackage is installed in my Julia environment for VSCode, shouldn’t VSCode be able to run find definition
anywhere the package is being used? The tutorial I’m following (Developing Julia Packages - YouTube) makes me this I shouldn’t be having this problem. However both in the tutorial and on Julia’s website (5. Creating Packages · Pkg.jl), you start by using generate
to create a blank package that gets installed in your current julia environment. I’m not generating a completely blank package (I’m starting from a fully developed package) so I assume this has something to do with my issue.
My background is Python.