# VSCode - Displaying custom structs

**URL:** <https://discourse.julialang.org/t/vscode-displaying-custom-structs/64500>\
**Category:** General Usage\
**Tags:** vscode\
**Created:** [July 12, 2021, 11:25am UTC](https://discourse.julialang.org/t/vscode-displaying-custom-structs/64500 "2021-07-12T11:25:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrVeng](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrveng/32/8836_2.png) [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Post date:** [July 12, 2021, 11:25am UTC](https://discourse.julialang.org/t/vscode-displaying-custom-structs/64500/1 "2021-07-12T11:25:05Z")

</div>

Hi there!

I normally use Atom, but come back to VSCode from time to time to check out the progress of the VSCode team - Thank you for your time and work!

I was wondering if there is a method to display a custom struct similar to Atom? I often work with structs where fields are arrays of tuples etc., and it is much easier for me to prototype this kind of stuff in Atom. I tried to google this question, but did not come up with a solution. MWE:

> struct MyCustomStruct1{A, B, C}  
> a :: A  
> b :: B  
> c :: C  
> end
> 
> mcs = MyCustomStruct1( rand(1000), [(rand(), rand() ) for \_ in 1:1000], randn(1000, 100) )  
> mcs

The Julia-Workspace view is quite good already, but becomes really difficult to read for more contrieved custom (or structs with structs as fields, etc.) structs.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/a/c/ac98eed88f447c40f7c7f56794a27ce085903f56.png)

The Atom view in comparison:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/8/1/815c802abeb753efddb811a06472ab1375ed254f.png)

Best regards

Edit: I did find the `REPLTreeViews.jl` package, but it took very long to show any results.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [July 12, 2021, 2:07pm UTC](https://discourse.julialang.org/t/vscode-displaying-custom-structs/64500/2 "2021-07-12T14:07:36Z")

</div>

There’s no easy way for us to implement something like Juno’s display system in VSCode, unfortunately. That said, REPLTreeViews seems like it could be a good alternative for you; afaict display is basically instant for your example after the initial compilation overhead.
