# Viewing Complex Tables/Objects in VS Code

**URL:** <https://discourse.julialang.org/t/viewing-complex-tables-objects-in-vs-code/134812>\
**Category:** VS Code\
**Created:** [December 30, 2025, 11:00pm UTC](https://discourse.julialang.org/t/viewing-complex-tables-objects-in-vs-code/134812 "2025-12-30T23:00:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alec\_Loudenback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alec_loudenback/32/278_2.png) [@Alec\_Loudenback](https://discourse.julialang.org/u/Alec_Loudenback)\
**Post date:** [December 30, 2025, 11:00pm UTC](https://discourse.julialang.org/t/viewing-complex-tables-objects-in-vs-code/134812/1 "2025-12-30T23:00:13Z")

</div>

I have a complex table which I can represent nicely using PrettyTables. I would like to be able to view large versions of these tables (like the PrettyTables examples, but hundereds of columns).

I can’t use the VS-Code table viewer because of having merged column labels and row group labels. I was thinking about returning an HTML PrettyTable and trying to get the rendered HTML to be displayed in a VS Code tab or plot pane, but I can’t seem to figure that out programmatically (CLI for VS code doesn’t do the former, HTML MIME type doesn’t seem to trigger the plot pane).

Is there any way to get arbitrary HTML to display in VS Code, or some existing Julia package that provides this sort of functionality I can use while interactively working in VS Code?

---

<div class="post-metadata">

**Author:** ![karei](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/karei/32/214809_2.png) [@karei](https://discourse.julialang.org/u/karei)\
**Post date:** [December 31, 2025, 1:07am UTC](https://discourse.julialang.org/t/viewing-complex-tables-objects-in-vs-code/134812/2 "2025-12-31T01:07:24Z")

</div>

How about exporting and saving a stand-alone HTML table from PrettyTables (with CSS injected), then preview it in VS Code?

For previewing, you generally use an extension:

- **Live Preview** (Microsoft): in-editor preview via a local server.
- **Live Server** : common alternative for serving and reloading HTML.
- Pair either with **Simple Browser** if you want the preview inside VS Code.

---

<div class="post-metadata">

**Author:** ![Alec\_Loudenback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alec_loudenback/32/278_2.png) [@Alec\_Loudenback](https://discourse.julialang.org/u/Alec_Loudenback)\
**Post date:** [December 31, 2025, 1:38am UTC](https://discourse.julialang.org/t/viewing-complex-tables-objects-in-vs-code/134812/3 "2025-12-31T01:38:44Z")

</div>

Yeah, that’s essentially what I am trying to do, except I want the user to just be able to call a single Julia function and not need to invoke a second step manually.

---

<div class="post-metadata">

**Author:** ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)\
**Post date:** [December 31, 2025, 9:36am UTC](https://discourse.julialang.org/t/viewing-complex-tables-objects-in-vs-code/134812/4 "2025-12-31T09:36:24Z")

</div>

You can create a custom show method for your type for MIME `application/vnd.julia-vscode.custompane+html` and it should automatically select the vscode pane for displaying.

See some docstring here

> <https://github.com/julia-vscode/julia-vscode/blob/main/scripts%2Fpackages%2FVSCodeServer%2Fsrc%2Fdisplay.jl#L8>
