# TAB autocomplete for MutableNamedTuples works for first level only

**URL:** <https://discourse.julialang.org/t/tab-autocomplete-for-mutablenamedtuples-works-for-first-level-only/98047>\
**Category:** General Usage\
**Tags:** autocompletion\
**Created:** [April 28, 2023, 3:45pm UTC](https://discourse.julialang.org/t/tab-autocomplete-for-mutablenamedtuples-works-for-first-level-only/98047 "2023-04-28T15:45:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iulian.Cioarca](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iulian.cioarca/32/30166_2.png) [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Post date:** [April 28, 2023, 3:45pm UTC](https://discourse.julialang.org/t/tab-autocomplete-for-mutablenamedtuples-works-for-first-level-only/98047/1 "2023-04-28T15:45:15Z")

</div>

Consider the following nested tuple example:  
`a = (b=(c=1,),)`  
In REPL I can type `a.` + TAB and I will see the level(s) below it. This can continue regadless of the number of levels in the tuple.

This only works for the first level if using MutableNamedTuples. I can discover only `b`, but trying `a.b.` + TAB yields nothing:  
`using MutableNamedTuples`  
`MNT = MutableNamedTuple`  
`a = MNT(b=MNT(c=1))`

Did anyone encounter similar problems with autocompletion?  
Is this a bug of MutableNamedTuples or Base?

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [April 28, 2023, 3:56pm UTC](https://discourse.julialang.org/t/tab-autocomplete-for-mutablenamedtuples-works-for-first-level-only/98047/2 "2023-04-28T15:56:17Z")

</div>

This is a problem with tab completion that is fixed in 1.10 ([REPLCompletions: replace `get_type` by the proper inference by aviatesk · Pull Request #49206 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/pull/49206)).
