Skip to content

Add "Run As...", "Debug As..." and "Profile As..." commands - #3075

Draft
anydoby wants to merge 1 commit into
eclipse-platform:masterfrom
anydoby:run-as-dialog
Draft

anydoby wants to merge 1 commit into
eclipse-platform:masterfrom
anydoby:run-as-dialog

Conversation

@anydoby

@anydoby anydoby commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

New commands Run As... (Shift+F11), Debug As... (Alt+Shift+F11) and Profile As... (no key).

Each command shows the choices of the "Run As" menu for the current editor or selection in a small dialog: the launch shortcuts that apply, and the launch configurations that they give. Type to filter, Up/Down to select, Enter to launch. The dialog selects the last choice first, so Shift+F11 and Enter repeats it.

Before, the keyboard way to these choices was the context menu and its submenu, or one key sequence for each shortcut (Alt+Shift+X J, ...). The dialog works for all languages, because it uses only the launch shortcuts.

The idea came from a review in Corrosion: eclipse-corrosion/corrosion#472 (comment)

Tests: LaunchAsTests in org.eclipse.debug.tests.

🤖 Generated with Claude Code

The commands show the choices of the "Run As" menu for the current
editor or selection in a dialog: the launch shortcuts that apply and
the launch configurations that they give. Type to filter, Enter
launches, and the dialog selects the last choice first. Shift+F11 opens
"Run As..." and Alt+Shift+F11 opens "Debug As...".

Without the commands, the keyboard way to the Run As choices is the
context menu and its submenu, or one key sequence for each shortcut.

The dialog uses the same enablement checks as the menu and launches in
the same way. It does not show the "Run Configurations..." item of the
menu: the commands "Run Configurations..." and "Debug Configurations..."
already exist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ± 0      54 suites  ±0   38m 38s ⏱️ +49s
 5 029 tests + 7   5 007 ✅ + 7   22 💤 ±0  0 ❌ ±0 
12 978 runs  +21  12 824 ✅ +21  154 💤 ±0  0 ❌ ±0 

Results for commit 3e8444d. ± Comparison against base commit 30dafa8.

@SougandhS SougandhS added the enhancement New feature or request label Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants