# How to programmatically inspect variable in VS Code Table View?

**URL:** <https://discourse.julialang.org/t/how-to-programmatically-inspect-variable-in-vs-code-table-view/130990>\
**Category:** VS Code\
**Tags:** vscode\
**Created:** [July 24, 2025, 2:45am UTC](https://discourse.julialang.org/t/how-to-programmatically-inspect-variable-in-vs-code-table-view/130990 "2025-07-24T02:45:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex1/32/11771_2.png) [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Post date:** [July 24, 2025, 2:45am UTC](https://discourse.julialang.org/t/how-to-programmatically-inspect-variable-in-vs-code-table-view/130990/1 "2025-07-24T02:45:18Z")

</div>

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.

```julia
function somefn()
  some_variable = anotherfn()

  inspect_in_table_view(some_variable)

  return some_variable
end

```

Table View [Imgur: The magic of the Internet](https://imgur.com/a/XrLve4s)

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.

---

<div class="post-metadata">

**Author:** ![xgdgsc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xgdgsc/32/608_2.png) [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)\
**Post date:** [July 24, 2025, 3:03am UTC](https://discourse.julialang.org/t/how-to-programmatically-inspect-variable-in-vs-code-table-view/130990/2 "2025-07-24T03:03:19Z")

</div>

> **[Table Viewer · Julia in VS Code](https://www.julia-vscode.org/docs/stable/userguide/grid/#Table-Viewer)**
>
> Documentation for Julia in VS Code.

---

<div class="post-metadata">

**Author:** ![Alex1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex1/32/11771_2.png) [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Post date:** [July 24, 2025, 3:48am UTC](https://discourse.julialang.org/t/how-to-programmatically-inspect-variable-in-vs-code-table-view/130990/3 "2025-07-24T03:48:19Z")

</div>

thanks, it’s `vscodedisplay([1])`
