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

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.

1 Like

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
1 Like

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. :+1:]

Thanks.

1 Like