Skip to content

Add "Details" button to String Substitution preference page - #3062

Open
SougandhS wants to merge 2 commits into
eclipse-platform:masterfrom
SougandhS:PreviewVal
Open

SougandhS wants to merge 2 commits into
eclipse-platform:masterfrom
SougandhS:PreviewVal

Conversation

@SougandhS

@SougandhS SougandhS commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

This commit adds a "Details.." button on the String Substitution pref page. It is enabled for a single selection and opens a small dialog showing the variable's name, value, description and contributing plug-in, each with a bold title. This will be useful for readability when there are lengthy values

image

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   34m 45s ⏱️ - 4m 55s
 5 022 tests ±0   5 000 ✅ +12   22 💤 ±0  0 ❌  - 3 
12 957 runs  ±0  12 803 ✅ +12  154 💤 ±0  0 ❌  - 3 

Results for commit 8f14644. ± Comparison against base commit 54613d2.

♻️ This comment has been updated with latest results.

@SougandhS
SougandhS force-pushed the PreviewVal branch 5 times, most recently from cc327f1 to afc6fa7 Compare November 9, 2026 15:49
@SougandhS
SougandhS requested a balanced review from Copilot November 10, 2026 00:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The String Substitution preview change has no active review issues.

No open issues 🎉

What changed in this PR

Adds a Preview action to the String Substitution preference page, making lengthy variable values easier to read without editing them.

Changes:

  • Enables Preview when exactly one variable is selected.
  • Adds a resizable, read-only dialog with bold headings for variable details and contributing plug-in information.
  • Adds localized labels and simplifies existing iterator loops.
File Description
debug/​org.eclipse.debug.ui/​ui/​org/​eclipse/​debug/​internal/​ui/​preferences/​StringVariablePreviewDialog.java Implements the formatted variable preview dialog.
debug/​org.eclipse.debug.ui/​ui/​org/​eclipse/​debug/​internal/​ui/​preferences/​StringVariablePreferencePage.java Adds Preview button handling and simplifies loops.
debug/​org.eclipse.debug.ui/​ui/​org/​eclipse/​debug/​internal/​ui/​preferences/​DebugPreferencesMessages.properties Defines localized preview labels.
debug/​org.eclipse.debug.ui/​ui/​org/​eclipse/​debug/​internal/​ui/​preferences/​DebugPreferencesMessages.java Declares the corresponding message fields.

Review effort: Balanced

@eclipse-platform-bot

eclipse-platform-bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From 8624eeaf0f7679f57e61fd83209769a733fcb179 Mon Sep 17 00:00:00 2001
From: Eclipse Platform Bot <platform-bot@eclipse.org>
Date: Sat, 28 Nov 2026 07:35:05 +0000
Subject: [PATCH] Version bump(s) for 4.43 stream


diff --git a/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF b/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF
index 5856fe1ef7..f1991fa5cb 100644
--- a/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF
+++ b/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: org.eclipse.debug.ui; singleton:=true
-Bundle-Version: 3.22.100.qualifier
+Bundle-Version: 3.22.200.qualifier
 Bundle-Activator: org.eclipse.debug.internal.ui.DebugUIPlugin
 Bundle-Vendor: %providerName
 Bundle-Localization: plugin
-- 
2.56.1

Further information are available in Common Build Issues - Missing version increments.

@merks

merks commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Seems useful. I'm not sure Preview is the best term though. Maybe is more like Details... To me preview suggests I can somehow see what the variable will actually do (how it evaluates) in action at a later time rather than something that shows me all the information about the thing at a glance.

@SougandhS

Copy link
Copy Markdown
Contributor Author

Details...

Will update label to "Details..."

This commit adds a "Preview" button on the String Substitution pref
page. It is enabled for a single selection and opens a small
dialog showing the variable's name, value, description and contributing
plug-in, each with a bold title. This will be useful for readability
when there is long values
@SougandhS SougandhS changed the title Add Preview button to String Substitution preference page Add "Details" button to String Substitution preference page Nov 28, 2026
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.

4 participants