You are viewing an older version (9.11.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.11.0 / IPython / terminal / shortcuts / auto_suggest / AppendAutoSuggestionInAnyLine

ABCMeta

IPython.terminal.shortcuts.auto_suggest:AppendAutoSuggestionInAnyLine

source: /IPython/terminal/shortcuts/auto_suggest.py :33

Signature

def   AppendAutoSuggestionInAnyLine ( style : str = class:auto-suggestion )  →  None

Members

Summary

Append the auto suggestion to lines other than the last (appending to the last line is natively supported by the prompt toolkit).

Extended Summary

This has a private _debug attribute that can be set to True to display debug information as virtual suggestion on the end of any line. You can do so with:

>>> from IPython.terminal.shortcuts.auto_suggest import AppendAutoSuggestionInAnyLine
>>> AppendAutoSuggestionInAnyLine._debug = True

Aliases

  • IPython.terminal.interactiveshell.AppendAutoSuggestionInAnyLine