# Python interactor : can we increase the item count in the dropdown list?

**URL:** <https://discourse.slicer.org/t/python-interactor-can-we-increase-the-item-count-in-the-dropdown-list/13128>\
**Category:** Support\
**Created:** [August 22, 2020, 9:53am UTC](https://discourse.slicer.org/t/python-interactor-can-we-increase-the-item-count-in-the-dropdown-list/13128 "2020-08-22T09:53:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [August 22, 2020, 9:53am UTC](https://discourse.slicer.org/t/python-interactor-can-we-increase-the-item-count-in-the-dropdown-list/13128/1 "2020-08-22T09:53:49Z")

</div>

Currently, the dropdown list on TAB key press in the python interactor shows 7 items. Can one increase the number of items to, say, 16 ? By some python code in slicerrc.py ? Just for less scrolling.

Thanks.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 22, 2020, 6:01pm UTC](https://discourse.slicer.org/t/python-interactor-can-we-increase-the-item-count-in-the-dropdown-list/13128/2 "2020-08-22T18:01:38Z")

</div>

Good idea. I’ve added a new Python-accessible method to set this (available in Slicer Preview Release from tomorrow):

```
slicer.app.pythonConsole().maxVisibleCompleterItems = 20
```

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [August 22, 2020, 6:36pm UTC](https://discourse.slicer.org/t/python-interactor-can-we-increase-the-item-count-in-the-dropdown-list/13128/3 "2020-08-22T18:36:56Z")

</div>

Great, I’ll rebuild tomorrow and drop this line in slicerrc.py.

[By the way, since the recent changes regarding dark mode, the python interactor does adopt the dark mode now, that’s less eye straining. 👍]

Thanks.
