Well, the title kind of says it. According to the docs for Vs Code Julia support it should be possible to see the Julia workspace while using Notebooks.
I can’t get this to work and I see no way to do so. I am using the integrated VS Code support for notebooks, not Python Jupyter. I am using an IJulia kernel and not the kernel provided by the language server.
The Julia language server’s jupyter kernel constantly hung or crashed, so I stopped using it.
I changed my config for the internal VS Code jupyter notebook, so I will try to LS’s kernel again because I believe that is the only kernel that provides workspace support.
Obviously, one must use the language server kernel for a live workspace on the notebook.
It works.
The settings changes I made in VS Code end the crashes and timeouts for the notebook in VS Code when using either external kernels (IJulia) or the language server kernel.
I am not sure which of these settings made things work, but one or more of them did it:
Even after I applied the settings you posted, I am still getting the following crashes. Could you think of other solutions?
info 21:39:48.592: Cancel pending cells
info 21:39:48.592: Interrupt kernel execution
info 21:39:48.592: Interrupting kernel: julia-1.7
info 21:39:48.592: Interrupting kernel with a shell message
warn 21:40:38.596: Error during interrupt: Error: Kernel interrupt failed. Jupyter server is hung. Please reload VS Code.
I am using Julia for Windows with an Intel CPU. I also raised this issue on Github for VS Code, and it looks like this problem is coming from the Julia kernel itself: