Julia-VSCode data grid / table

How to (guide) enable data grid/ table viewer in VSCode? Saw screenshot of this on julia-vscode homepage but documentation is still empty. Appreciate your advise @davidanthoff. Thanks.

In the VSCode Julia REPL, do

julia> vscodedisplay(x)

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


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> vscodedisplay(df)
ERROR: UndefVarError: df not defined
 [1] top-level scope at REPL[9]:1


Have you run the file in the REPL?

I run the script via CTRL+F5 command.

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?

1 Like

Yes, that does the trick! Thanks.

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

I believe a workspace view is in the works.

Take a look at their pull request page. Lots of features are coming.