##// END OF EJS Templates
Explain expected format for `disable_matchers`/identifiers
krassowski -
Show More
@@ -684,7 +684,10 b' def completion_matcher('
684 identifier : Optional[str]
684 identifier : Optional[str]
685 identifier of the matcher allowing users to modify the behaviour via traitlets,
685 identifier of the matcher allowing users to modify the behaviour via traitlets,
686 and also used to for debugging (will be passed as ``origin`` with the completions).
686 and also used to for debugging (will be passed as ``origin`` with the completions).
687 Defaults to matcher function ``__qualname__``.
687
688 Defaults to matcher function's ``__qualname__`` (for example,
689 ``IPCompleter.file_matcher`` for the built-in matched defined
690 as a ``file_matcher`` method of the ``IPCompleter`` class).
688 api_version: Optional[int]
691 api_version: Optional[int]
689 version of the Matcher API used by this matcher.
692 version of the Matcher API used by this matcher.
690 Currently supported values are 1 and 2.
693 Currently supported values are 1 and 2.
@@ -1447,14 +1450,18 b' class IPCompleter(Completer):'
1447
1450
1448 If False, only the completion results from the first non-empty
1451 If False, only the completion results from the first non-empty
1449 completer will be returned.
1452 completer will be returned.
1450
1453
1451 As of version 8.6.0, setting the value to ``False`` is an alias for:
1454 As of version 8.6.0, setting the value to ``False`` is an alias for:
1452 ``IPCompleter.suppress_competing_matchers = True.``.
1455 ``IPCompleter.suppress_competing_matchers = True.``.
1453 """,
1456 """,
1454 ).tag(config=True)
1457 ).tag(config=True)
1455
1458
1456 disable_matchers = ListTrait(
1459 disable_matchers = ListTrait(
1457 Unicode(), help="""List of matchers to disable."""
1460 Unicode(),
1461 help="""List of matchers to disable.
1462
1463 The list should contain matcher identifiers (see :any:`completion_matcher`).
1464 """,
1458 ).tag(config=True)
1465 ).tag(config=True)
1459
1466
1460 omit__names = Enum(
1467 omit__names = Enum(
@@ -82,6 +82,8 b' class ConfigMagics(Magics):'
82 Current: False
82 Current: False
83 IPCompleter.disable_matchers=<list-item-1>...
83 IPCompleter.disable_matchers=<list-item-1>...
84 List of matchers to disable.
84 List of matchers to disable.
85 The list should contain matcher identifiers (see
86 :any:`completion_matcher`).
85 Current: []
87 Current: []
86 IPCompleter.greedy=<Bool>
88 IPCompleter.greedy=<Bool>
87 Activate greedy completion
89 Activate greedy completion
General Comments 0
You need to be logged in to leave comments. Login now