Skip to content

Add per-viewer code mining visibility filters - #4571

Open
tobiasmelcher wants to merge 1 commit into
eclipse-platform:masterfrom
tobiasmelcher:d031119/code-mining-visibility-filter
Open

tobiasmelcher wants to merge 1 commit into
eclipse-platform:masterfrom
tobiasmelcher:d031119/code-mining-visibility-filter

Conversation

@tobiasmelcher

@tobiasmelcher tobiasmelcher commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Editors sometimes need to show only selected code minings temporarily, without changing user preferences or disabling their providers.

This adds ISourceViewerExtension6 so clients can register and remove filters for an individual viewer. Filters can be combined, and changing them refreshes the displayed minings while safely handling pending requests and annotation cleanup.

Used by the unified diff change in eclipse-platform/eclipse.platform#3078, which hides unrelated minings while a diff is open. This JFace change needs to be merged first.

Allow source viewers to temporarily show only selected code minings without changing installed providers or editor preferences. Compose filters by identity and refresh minings safely across asynchronous requests and annotation updates.
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

   867 files  ± 0     867 suites  ±0   44m 24s ⏱️ - 26m 33s
 8 570 tests +25   8 330 ✅ +25  240 💤 ±0  0 ❌ ±0 
21 582 runs  +75  20 909 ✅ +75  673 💤 ±0  0 ❌ ±0 

Results for commit e232225. ± Comparison against base commit d0e3468.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant