Repository navigation
Conversation
cc327f1 to
afc6fa7
Compare
There was a problem hiding this comment.
🟢 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
afc6fa7 to
e2041dc
Compare
e2041dc to
7ff76fa
Compare
|
This pull request changes some projects for the first time in this development cycle. 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 patchFurther information are available in Common Build Issues - Missing version increments. |
|
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. |
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
cf2c22c to
71016ae
Compare
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