I’m trying to move from Juno to VSCode, but I’m having trouble getting introspection to work well with my code setup. In Juno, I made local modules available by push!
ing to LOAD_PATH. This post indicates that this is not a viable option in VSCode; I don’t understand what I should be doing instead.
I would like to:
- Write modules that I can…
- Import from other modules/scripts I’m working on, all while…
- getting the benefits of VSCode language server introspection, etc.
All my code is local (no public github projects). My current setup is…
Project.toml
Manifest.toml
src/
- Main.jl
- Module1.jl
- Module2.jl
test/
- TestModule1.jl
- TestModule2.jl
In Juno, I would push
the src/ folder onto LOAD_PATH. What is VSCode-conformant mechanism for making the modules available for import to each other and Main?
I’d prefer to retain my current code setup, but I’m willing to refactor my code in any way necessary to get autocompletion in VSCode.
I’ve been trying to figure this out for days, to no avail. Please help!!!