pyiron_base.utils.jedi module
- pyiron_base.utils.jedi.fix_ipython_autocomplete(enable=True)
Change autocomplete behavior for IPython > 6.x
Parameter
- enablebool (default True)
Is use the trick.
Notes
Since IPython > 6.x the
jedi
package is using for autocomplete by default. But in some cases, the autocomplete doesn’t work correctly wrong (see e.g. here).To set the correct behaviour we should use in IPython environment:
%config Completer.use_jedi = False
or add to IPython config (
<HOME>\.ipython\profile_default\ipython_config.py
):c.Completer.use_jedi = False