Skip to content

Trigger Show In on Enter/double-click for projects in Open Resource#4013

Draft
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:open-resource-enter-shows-projects
Draft

Trigger Show In on Enter/double-click for projects in Open Resource#4013
vogella wants to merge 1 commit into
eclipse-platform:masterfrom
vogella:open-resource-enter-shows-projects

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented May 18, 2026

In the Open Resource dialog (Ctrl+Shift+R), selecting a project and pressing Enter or double-clicking it had no effect because the OK button was disabled for non-file resources. The selection is now routed to the first available Show In target, using the same MRU-sorted ordering as the Show In dropdown and passing the selection as a ShowInContext. File selections behave exactly as before, multi-selection of projects stays disabled (Show In targets only reveal one entry), and the dialog still closes silently if the current perspective declares no Show In targets.

Planned for 4.41

When a project (or other non-file resource) is selected in the Open
Resource dialog, the OK button was disabled and Enter/double-click had
no effect. Enable OK in that case and route it to the first available
Show In target (MRU-sorted, same ordering as the Show In dropdown),
passing the selection as a ShowInContext. Falls back to today's silent
close when no Show In target is available.
@github-actions
Copy link
Copy Markdown
Contributor

Test Results

   864 files  ±0     864 suites  ±0   54m 51s ⏱️ +6s
 7 988 tests ±0   7 745 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 418 runs  ±0  19 763 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit 8133af7. ± Comparison against base commit a086677.

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