Open MFairley opened 4 years ago
None of my code in the current environment is recognized: missing references. This shows as hundreds of warnings, but there is no error.
I have encountered that as well - has there been any progress in the meantime? Is there a workaround available?
For those that encountered a similar problem, the best workaround I've found so far is to simply add a "fake" include(<my module>)
line before the using
statement.
For example, my project is called SEDL
and is not resolved by the linter in my script files, as shown below
And we can make the linter happy by simply add the line !true && include("../src/SEDL.jl")
.
I cannot get the linter to recognize the core module for an environment. I get a missing reference error. Am I doing something wrong or is this a bug?
Here's a MWE:
Now I open up the folder
~/Git-Projects/TestVS
in VSCode and set the environment to TestVS. I create a new file~/Git-Projects/TestVS/src/lint.jl
and typeusing TestVS
at the top. A few seconds later the Linter underlines TestVS and has a message: "Missing reference: TestVS".I have the same issue on 0.14.9 and 0.13.1