Skip to content

Update Show In MRU when triggered from Open Resource dialog#4059

Open
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:open-resource-showin-mru
Open

Update Show In MRU when triggered from Open Resource dialog#4059
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:open-resource-showin-mru

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Jun 3, 2026

The Open Resource dialog drives Show In through its own actions (both the dropdown and the implicit action on a non-file selection), calling showView and IShowInTarget.show directly rather than the Navigate > Show In command. As a result WorkbenchPage.performedShowIn was never called and the most-recently-used order of Show In targets was left untouched, unlike the regular Show In popup.

This promotes the used target via performedShowIn after a successful show, so launching Show In from Open Resource feeds the same MRU list as the standard command.

Fixes #4058

Using Show In from the Open Resource dialog, either via the dropdown or
the implicit action on a non-file selection, opened the target view but
never updated the most-recently-used order. Both paths call showView and
IShowInTarget.show directly instead of the Navigate > Show In command, so
WorkbenchPage.performedShowIn was never invoked and the MRU list stayed
unchanged.

Promote the used target via performedShowIn after a successful show, so
the Open Resource dialog feeds the same MRU as the regular Show In.

Fixes eclipse-platform#4058
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

Test Results

   861 files  ±0     861 suites  ±0   53m 32s ⏱️ + 1m 4s
 8 034 tests ±0   7 790 ✅ ±0  243 💤 ±0  1 ❌ ±0 
20 541 runs  ±0  19 883 ✅ ±0  655 💤 ±0  3 ❌ ±0 

For more details on these failures, see this check.

Results for commit b638b63. ± Comparison against base commit 7ec52db.

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.

MRU list of show-in views updated by Show-in Popup but not the Open Resource Selection

1 participant