Add Compare with Clipboard action to Console - #2923
Conversation
906ae56 to
a666ac9
Compare
|
Hi @merks, could you please check this PR when you get some time ? |
merks
left a comment
There was a problem hiding this comment.
Just a few small suggestions and question.
a666ac9 to
e8a6e6c
Compare
|
Console output can be HUGE, especially for long running applications. Have you checked if UI will freeze or not while doing this operation? |
Did checked with a long log during dev and didn't encountered UI freeze issue |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Bundle versioning and unresolved optional Compare bundle handling must be corrected.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 2
Open (2)
What changed in this PR
Adds a Console action for comparing selected or complete output with clipboard text in Eclipse’s Compare editor.
Changes:
- Adds clipboard comparison logic and context-menu integration.
- Adds localized labels, help context, and optional Compare dependencies.
| File | Description |
|---|---|
| debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IConsoleHelpContextIds.java | Adds the action’s help context. |
| debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleMessages.properties | Adds localized action messages. |
| debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleMessages.java | Declares the new message fields. |
| debug/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/CompareConsoleWithClipboard.java | Implements clipboard comparison. |
| debug/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsolePage.java | Adds the action to the context menu. |
| debug/org.eclipse.ui.console/META-INF/MANIFEST.MF | Adds optional Compare package imports. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
fa69bd2 to
54e4aee
Compare
Adds a Compare with Clipboard action to the Eclipse Console view, allowing users to compare the selected console output with the contents of the system clipboard using Eclipse's compare editor.
54e4aee to
e10ec75
Compare
|
Build looks good, if there are no more changes required can this be merged ? |
|
Thanks ! |
|
I'm often confused if I need to merge it for you or not. Let me know. |

Adds a Compare with Clipboard action to the Console view, allowing users to compare console output directly with text currently available in the clipboard using Compare Editor. This simplifies a common debugging and development workflow by eliminating the need to manually copy console output into a separate editor or comparison tool. Users can quickly identify differences between console output and expected or reference content, making it easier to investigate test failures, verify generated output, and diagnose unexpected results