Improve No Recent Launch Dialog#2616
Improve No Recent Launch Dialog#2616SougandhS wants to merge 1 commit intoeclipse-platform:masterfrom
Conversation
5f4d456 to
e12099f
Compare
...clipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextMessages.properties
Outdated
Show resolved
Hide resolved
| * @return the corresponding button label for opening the launch configuration | ||
| * dialog | ||
| */ | ||
| private String launchButtonName(String launchMode) { |
There was a problem hiding this comment.
Note, if you have profiler installed, there will be "Profile" dialog, and if you have JaCoCo installed, there will be "Coverage" dialog and so on... BTW, by default there is also "External Tools Configuration" dialog.
There was a problem hiding this comment.
Then I think 'Open {0} Configuration' will be more suitable
There was a problem hiding this comment.
Pull request overview
Improves the “No Recent Launches” UX in the Eclipse Debug UI context launching flow by replacing the plain info dialog with a dialog that can jump directly to the appropriate Launch Configuration group.
Changes:
- Replace “no recent launches”
MessageDialogwith a customMessageDialogsubclass that adds an “Open … Config” action. - Add NLS keys for the new button labels.
- Update copyrights to 2026 in the touched files.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java |
Introduces LaunchFailedDialog and uses it in “no recent launches” scenarios; adds mode-based button labeling. |
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextMessages.properties |
Adds new NLS strings for the dialog button labels. |
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextMessages.java |
Adds corresponding NLS fields for the new message keys. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java
Outdated
Show resolved
Hide resolved
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java
Outdated
Show resolved
Hide resolved
...clipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextMessages.properties
Outdated
Show resolved
Hide resolved
e12099f to
64cfe4c
Compare
This commit add an additional Run/Debug Launch config button to quickly open corresponding launch group from the dialog instead of closing and clicking the drop down to navigate the same
64cfe4c to
1b31014
Compare

Adds a new button in the Run/Debug/etc Launch Configuration dialog for the “No Recent Launches” state. This allows users who accidentally click Run or Debug or Any launches without any recent configurations to quickly jump to the corresponding launch configuration group directly from the dialog, without closing it and navigating through the dropdown again.
This improves usability by providing a faster and more convenient recovery path when no recent launches are available.
Before :
After :
