##// END OF EJS Templates
Merge pull request #13827 from krassowski/improve-completer-docs...
Matthias Bussonnier -
r27882:fb2642c5 merge
parent child Browse files
Show More
@@ -697,7 +697,10 b' def completion_matcher('
697 697 identifier : Optional[str]
698 698 identifier of the matcher allowing users to modify the behaviour via traitlets,
699 699 and also used to for debugging (will be passed as ``origin`` with the completions).
700 Defaults to matcher function ``__qualname__``.
700
701 Defaults to matcher function's ``__qualname__`` (for example,
702 ``IPCompleter.file_matcher`` for the built-in matched defined
703 as a ``file_matcher`` method of the ``IPCompleter`` class).
701 704 api_version: Optional[int]
702 705 version of the Matcher API used by this matcher.
703 706 Currently supported values are 1 and 2.
@@ -1460,14 +1463,18 b' class IPCompleter(Completer):'
1460 1463
1461 1464 If False, only the completion results from the first non-empty
1462 1465 completer will be returned.
1463
1466
1464 1467 As of version 8.6.0, setting the value to ``False`` is an alias for:
1465 1468 ``IPCompleter.suppress_competing_matchers = True.``.
1466 1469 """,
1467 1470 ).tag(config=True)
1468 1471
1469 1472 disable_matchers = ListTrait(
1470 Unicode(), help="""List of matchers to disable."""
1473 Unicode(),
1474 help="""List of matchers to disable.
1475
1476 The list should contain matcher identifiers (see :any:`completion_matcher`).
1477 """,
1471 1478 ).tag(config=True)
1472 1479
1473 1480 omit__names = Enum(
@@ -82,6 +82,8 b' class ConfigMagics(Magics):'
82 82 Current: False
83 83 IPCompleter.disable_matchers=<list-item-1>...
84 84 List of matchers to disable.
85 The list should contain matcher identifiers (see
86 :any:`completion_matcher`).
85 87 Current: []
86 88 IPCompleter.greedy=<Bool>
87 89 Activate greedy completion
General Comments 0
You need to be logged in to leave comments. Login now