VS Code extension for Julia provides some nice static checks, e.g. it hints “possibly undeclared variable”, and also allows going to definition. But it seems to work only within one file. Even if I have
include, definitions from the included file are not visible. So I got hundreds of “possibly undeclared” variables, which is very annoying.
Is there any workaround for this? Can I make VS Code search definitions in included files, or even better in the whole workspace? If follow the standard package structure, you end up with multiple files that are to be included in one “main” file, and, therefore, these files are not valid on their own.
P.S. There is a “go to symbol in workspace” function, but it doesn’t solve the problem with undeclared variables.