# Preview longer arrays and dictionaries in Workspace : Atom - Julia

**URL:** <https://discourse.julialang.org/t/preview-longer-arrays-and-dictionaries-in-workspace-atom-julia/29827>\
**Category:** General Usage\
**Created:** [October 12, 2019, 6:10pm UTC](https://discourse.julialang.org/t/preview-longer-arrays-and-dictionaries-in-workspace-atom-julia/29827 "2019-10-12T18:10:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KSepetanc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ksepetanc/32/10841_2.png) [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)\
**Post date:** [October 12, 2019, 6:10pm UTC](https://discourse.julialang.org/t/preview-longer-arrays-and-dictionaries-in-workspace-atom-julia/29827/1 "2019-10-12T18:10:02Z")

</div>

I am using PowerModels package and it has rather long dictionaries as model data.

When the inner structure has a lot of rows, it displays either …=\>… for a dict. or just … for arrays.  
I don’t see any way to preview more rows. Is there any way to control this behavior? Either load more on demand or statically increase how much loads.

---

<div class="post-metadata">

**Author:** ![tomerarnon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomerarnon/32/3170_2.png) [@tomerarnon](https://discourse.julialang.org/u/tomerarnon)\
**Post date:** [October 13, 2019, 1:18am UTC](https://discourse.julialang.org/t/preview-longer-arrays-and-dictionaries-in-workspace-atom-julia/29827/2 "2019-10-13T01:18:08Z")

</div>

If I understand your issue correctly, you could print `n` many items with something like this:

```julia
function showmore(io::IO, x, n)
    for (i,k) in enumerate(x)
        i > n && break
        println(io, k)
    end
end

showmore(x, n=typemax(Int)) = showmore(stdout, x, n)
```
