You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s really easy to reproduce. Simply creating a new Julia file and having a using Example (where Example is an added package in the global environment), the linter will show a warning underlining Example and any functions from it stating “Missing Reference”. Furthermore, any functions from Example are recognized so no linter features work with it. Running the REPL runs the code just fine. Here is further discussion of this issue and a reproduction of it: https://discourse.julialang.org/t/missing-reference-warnings-with-julia-in-vs-code/31321/22?u=j-adel
I remember this used to work some time ago. Adding a Project.toml and adding Example to the local environment fixes it. However I think the linter is supposed to detect the global environment when it's there.
The text was updated successfully, but these errors were encountered:
It’s really easy to reproduce. Simply creating a new Julia file and having a
using Example
(where Example is an added package in the global environment), the linter will show a warning underlining Example and any functions from it stating “Missing Reference”. Furthermore, any functions fromExample
are recognized so no linter features work with it. Running the REPL runs the code just fine. Here is further discussion of this issue and a reproduction of it: https://discourse.julialang.org/t/missing-reference-warnings-with-julia-in-vs-code/31321/22?u=j-adelI remember this used to work some time ago. Adding a Project.toml and adding
Example
to the local environment fixes it. However I think the linter is supposed to detect the global environment when it's there.The text was updated successfully, but these errors were encountered: