How to programmatically inspect variable in VS Code Table View?

Julia has Table View to inspect REPL variables.

Is there a way to open it programmatically? Usually it opened by opening Workspace Inspector, finding variable, and clicking on its icon.

I want to do it programmatically, like in code below, when this function executed by Shift+Enter the Table View should open.

function somefn()
  some_variable = anotherfn()

  inspect_in_table_view(some_variable)

  return some_variable
end

Table View Imgur: The magic of the Internet

Maybe some julia call or call to VS Code internals, or maybe command line command?

P.S.

A bit broader question, if there’s docs how to attach some external environment to inspect the data please share link too. I want to use VS Code as editor, but miss ability to inspect the data easily.

1 Like

thanks, it’s vscodedisplay([1])