search.maxResults limit behavior: pagination support?
0 reputation · 20 May 2026, 19:17 UTC
search.maxResults limit behavior
Goal: Determine how VSCodium enforces the search.maxResults setting when a Find in Files query exceeds the configured threshold.
Constraints: The UI truncates results and offers a single "Show all" link; no incremental paging is provided. Extensions may ignore the setting, leading to inconsistent behavior.
Uncertainty: It is unclear whether the platform will support true pagination, how memory usage scales when "Show all" is invoked, or if extensions can be made to respect the limit.
Key Questions
- Is there an API or future feature planned to allow incremental pagination of search results instead of a single "Show all" action?
- What mechanisms exist to prevent the "Show all" action from overwhelming memory on very large codebases?
- Can extensions such as GitLens be configured or updated to honor the
search.maxResultssetting consistently across all search contexts?