Julia VS Code Extension References Old Version

After updating the julia vs code extension to 1.50.2 I’m getting errors in the julia REPL. After some investigation it appears that the extension is running julia with a reference to the old version of the extension, which no longer exists.

ps aux | grep julia shows a julia process with an argument like this:

${HOME}/.vscode/extensions/julialang.language-julia-1.50.1/scripts/terminalserver/terminalserver.jl

In the REPL there is an error opening that file, which makes sense because it doesn’t exist.

I’ve tried to find where this is happening but I don’t know much about vs code extensions, any ideas ?

EDIT: It turns out that removing and reinstalling the extension fixed this problem. I suspect the root cause may have been in vscode itself rather than in the extension.