Can VSCode linter warn undefined functions?

greatpet
Wed, 26 Oct 2022 20:19:16 +0000
VS Code

If my mouse hovers above a function call, VSCode usually tells me information about the function, i.e. the arguments that should be supplied. If the function doesn’t exist, VSCode will tell me nothing, so VSCode is aware that it’s not able to identify a function definition. Can the linter highlight such functions as potential wrong code (e.g. with red wiggly lines)? Such a feature would be very helpful in refactoring code. I know such errors wouldn’t be 100% accurate since static analysis in Julia is difficult (due to metaprogramming etc.), but the information can still be valuable to the user.

4 posts - 3 participants