Skip to content

Improve No Recent Launch Dialog#2616

Open
SougandhS wants to merge 1 commit intoeclipse-platform:masterfrom
SougandhS:ImproveDialog
Open

Improve No Recent Launch Dialog#2616
SougandhS wants to merge 1 commit intoeclipse-platform:masterfrom
SougandhS:ImproveDialog

Conversation

@SougandhS
Copy link
Copy Markdown
Contributor

@SougandhS SougandhS commented Apr 8, 2026

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 :

image

After :
Screenshot 2026-04-06 at 10 55 05 AM

Screenshot 2026-04-06 at 10 54 54 AM

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Test Results

    54 files  ±0      54 suites  ±0   39m 5s ⏱️ + 3m 12s
 4 558 tests ±0   4 535 ✅ ±0   23 💤 ±0  0 ❌ ±0 
12 270 runs  ±0  12 111 ✅ ±0  159 💤 ±0  0 ❌ ±0 

Results for commit 1b31014. ± Comparison against base commit aa3bfa8.

♻️ This comment has been updated with latest results.

@SougandhS SougandhS force-pushed the ImproveDialog branch 2 times, most recently from 5f4d456 to e12099f Compare April 10, 2026 02:55
* @return the corresponding button label for opening the launch configuration
* dialog
*/
private String launchButtonName(String launchMode) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

@SougandhS SougandhS Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I think 'Open {0} Configuration' will be more suitable

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2026-04-13 at 8 15 23 AM

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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” MessageDialog with a custom MessageDialog subclass 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.

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
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.

3 participants