Match class names and attributes for %config magic.
(self, context: CompletionContext)
| 2413 | |
| 2414 | @context_matcher() |
| 2415 | def magic_config_matcher(self, context: CompletionContext) -> SimpleMatcherResult: |
| 2416 | """Match class names and attributes for %config magic.""" |
| 2417 | # NOTE: uses `line_buffer` equivalent for compatibility |
| 2418 | matches = self.magic_config_matches(context.line_with_cursor) |
| 2419 | return _convert_matcher_v1_result_to_v2_no_no(matches, type="param") |
| 2420 | |
| 2421 | def magic_config_matches(self, text: str) -> list[str]: |
| 2422 | """Match class names and attributes for %config magic. |
nothing calls this directly
no test coverage detected