Julia extension doesn't load InteractiveUtils properly

The instruction varinfo() does not work when calling it from code file in VSCode, I had to load manually InteractiveUtils and then execute the function, but the objects global_err_handler and is_disconnected_exception are created:

This does not happen if I try the same directly in the Julia REPL, without even having to load InteractiveUtils:

Any ideas of what is going on and how to fix it?

The REPL automatically loads InteractiveUtils for you. If you need it outside of that context, you should load it manually.

I have been using Julia in VS Code for a while, and it was just until today that I had to load it manually.

You don’t have to unless something is broken, here’s what I just did in a fresh VSCodium session:

This is a recent regression afaict.

2 Likes

Ha, indeed, ignore my comment - just restarted VSCodium and now I see the same issue, I was probably on an older version of the extension.

1 Like