##// END OF EJS Templates
Update ipdoctest test
krassowski -
Show More
@@ -101,6 +101,8 b' option.'
101 Be sure to update :any:`jedi` to the latest stable version or to try the
101 Be sure to update :any:`jedi` to the latest stable version or to try the
102 current development version to get better completions.
102 current development version to get better completions.
103
103
104 .. _Matchers:
105
104 Matchers
106 Matchers
105 ========
107 ========
106
108
@@ -80,6 +80,9 b' class ConfigMagics(Magics):'
80 Enable debug for the Completer. Mostly print extra information for
80 Enable debug for the Completer. Mostly print extra information for
81 experimental jedi integration.
81 experimental jedi integration.
82 Current: False
82 Current: False
83 IPCompleter.disable_matchers=<list-item-1>...
84 List of matchers to disable.
85 Current: []
83 IPCompleter.greedy=<Bool>
86 IPCompleter.greedy=<Bool>
84 Activate greedy completion
87 Activate greedy completion
85 PENDING DEPRECATION. this is now mostly taken care of with Jedi.
88 PENDING DEPRECATION. this is now mostly taken care of with Jedi.
@@ -102,6 +105,8 b' class ConfigMagics(Magics):'
102 Whether to merge completion results into a single list
105 Whether to merge completion results into a single list
103 If False, only the completion results from the first non-empty
106 If False, only the completion results from the first non-empty
104 completer will be returned.
107 completer will be returned.
108 As of version 8.5.0, setting the value to ``False`` is an alias for:
109 ``IPCompleter.suppress_competing_matchers = True.``.
105 Current: True
110 Current: True
106 IPCompleter.omit__names=<Enum>
111 IPCompleter.omit__names=<Enum>
107 Instruct the completer to omit private method names
112 Instruct the completer to omit private method names
@@ -117,6 +122,24 b' class ConfigMagics(Magics):'
117 IPCompleter.profiler_output_dir=<Unicode>
122 IPCompleter.profiler_output_dir=<Unicode>
118 Template for path at which to output profile data for completions.
123 Template for path at which to output profile data for completions.
119 Current: '.completion_profiles'
124 Current: '.completion_profiles'
125 IPCompleter.suppress_competing_matchers=<Union>
126 Whether to suppress completions from other `Matchers`_.
127 When set to ``None`` (default) the matchers will attempt to auto-detect
128 whether suppression of other matchers is desirable. For example, at the
129 beginning of a line followed by `%` we expect a magic completion to be the
130 only applicable option, and after ``my_dict['`` we usually expect a
131 completion with an existing dictionary key.
132 If you want to disable this heuristic and see completions from all matchers,
133 set ``IPCompleter.suppress_competing_matchers = False``. To disable the
134 heuristic for specific matchers provide a dictionary mapping:
135 ``IPCompleter.suppress_competing_matchers = {'IPCompleter.dict_key_matcher':
136 False}``.
137 Set ``IPCompleter.suppress_competing_matchers = True`` to limit completions
138 to the set of matchers with the highest priority; this is equivalent to
139 ``IPCompleter.merge_completions`` and can be beneficial for
140 performance, but will sometimes omit relevant candidates from matchers
141 further down the priority list.
142 Current: False
120 IPCompleter.use_jedi=<Bool>
143 IPCompleter.use_jedi=<Bool>
121 Experimental: Use Jedi to generate autocompletions. Default to True if jedi
144 Experimental: Use Jedi to generate autocompletions. Default to True if jedi
122 is installed.
145 is installed.
General Comments 0
You need to be logged in to leave comments. Login now