# Julia-VSCode data grid / table

**URL:** <https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605>\
**Category:** VS Code\
**Tags:** question\
**Created:** [June 2, 2020, 11:05am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605 "2020-06-02T11:05:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Humphrey\_Lee](https://avatars.discourse-cdn.com/v4/letter/h/a88e4f/32.png) [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Post date:** [June 2, 2020, 11:05am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/1 "2020-06-02T11:05:07Z")

</div>

How to (guide) enable data grid/ table viewer in VSCode? Saw screenshot of this on [julia-vscode homepage](https://www.julia-vscode.org/) but [documentation](https://www.julia-vscode.org/docs/dev/userguide/grid/) is still empty. Appreciate your advise @davidanthoff. Thanks.

---

<div class="post-metadata">

**Author:** ![EHBaozi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ehbaozi/32/14854_2.png) [@EHBaozi](https://discourse.julialang.org/u/EHBaozi)\
**Post date:** [June 2, 2020, 11:11am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/2 "2020-06-02T11:11:17Z")

</div>

In the VSCode Julia REPL, do

```julia
julia> vscodedisplay(x)

```

where `x` is a table-like object (DataFrame, matrix, etc).

---

<div class="post-metadata">

**Author:** ![Humphrey\_Lee](https://avatars.discourse-cdn.com/v4/letter/h/a88e4f/32.png) [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Post date:** [June 2, 2020, 11:17am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/3 "2020-06-02T11:17:29Z")

</div>

Tried that (found this command in ver. 0.12 release notes), but don’t think I get it correctly. REPL spits out error as below. “df” is my DataFrames. Is there a way to have similar setup like Juno in Atom?

```julia
julia> vscodedisplay(df)
ERROR: UndefVarError: df not defined
Stacktrace:
 [1] top-level scope at REPL[9]:1

julia> 

```

---

<div class="post-metadata">

**Author:** ![EHBaozi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ehbaozi/32/14854_2.png) [@EHBaozi](https://discourse.julialang.org/u/EHBaozi)\
**Post date:** [June 2, 2020, 11:20am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/4 "2020-06-02T11:20:46Z")

</div>

Have you run the file in the REPL?

---

<div class="post-metadata">

**Author:** ![Humphrey\_Lee](https://avatars.discourse-cdn.com/v4/letter/h/a88e4f/32.png) [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Post date:** [June 2, 2020, 11:22am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/5 "2020-06-02T11:22:51Z")

</div>

I run the script via CTRL+F5 command.

---

<div class="post-metadata">

**Author:** ![EHBaozi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ehbaozi/32/14854_2.png) [@EHBaozi](https://discourse.julialang.org/u/EHBaozi)\
**Post date:** [June 2, 2020, 11:29am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/6 "2020-06-02T11:29:07Z")

</div>

Ctrl+F5 runs the file in the debugger, right? In that case the REPL won’t see the file. In the command palette (Ctrl+Shift+P) there is a command `Julia: Execute File`. Try doing that?

---

<div class="post-metadata">

**Author:** ![Humphrey\_Lee](https://avatars.discourse-cdn.com/v4/letter/h/a88e4f/32.png) [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Post date:** [June 2, 2020, 11:37am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/7 "2020-06-02T11:37:33Z")

</div>

Yes, that does the trick! Thanks.

Wondering if something similar or more convenient as Juno Workspace is available?

---

<div class="post-metadata">

**Author:** ![EHBaozi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ehbaozi/32/14854_2.png) [@EHBaozi](https://discourse.julialang.org/u/EHBaozi)\
**Post date:** [June 2, 2020, 11:40am UTC](https://discourse.julialang.org/t/julia-vscode-data-grid-table/40605/8 "2020-06-02T11:40:26Z")

</div>

I believe a workspace view is in the works.

Take a look at their [pull request page](https://github.com/julia-vscode/julia-vscode/pulls). Lots of features are coming.
