Skip to content

Add Compare with Clipboard action to Console - #2923

Merged
merks merged 1 commit into
eclipse-platform:masterfrom
SougandhS:ConsoleCompare
Sep 21, 2026
Merged

merks merged 1 commit into
eclipse-platform:masterfrom
SougandhS:ConsoleCompare

Conversation

@SougandhS

Copy link
Copy Markdown
Contributor

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

image cm

@github-actions

github-actions Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   56m 54s ⏱️ -35s
 4 810 tests ±0   4 788 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 321 runs  ±0  12 168 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit e10ec75. ± Comparison against base commit 984e8ec.

♻️ This comment has been updated with latest results.

@SougandhS
SougandhS force-pushed the ConsoleCompare branch 2 times, most recently from 906ae56 to a666ac9 Compare September 21, 2026 03:31
@SougandhS

Copy link
Copy Markdown
Contributor Author

Hi @merks, could you please check this PR when you get some time ?

@merks merks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a few small suggestions and question.

@iloveeclipse

Copy link
Copy Markdown
Member

Console output can be HUGE, especially for long running applications. Have you checked if UI will freeze or not while doing this operation?

@SougandhS

Copy link
Copy Markdown
Contributor Author

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

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.

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 Medium severity

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.

Comment thread debug/org.eclipse.ui.console/META-INF/MANIFEST.MF
@SougandhS
SougandhS force-pushed the ConsoleCompare branch 2 times, most recently from fa69bd2 to 54e4aee Compare September 21, 2026 07:45
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.
@SougandhS

Copy link
Copy Markdown
Contributor Author

Build looks good, if there are no more changes required can this be merged ?

@SougandhS

Copy link
Copy Markdown
Contributor Author

Thanks !

@merks

merks commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

I'm often confused if I need to merge it for you or not. Let me know.

@SougandhS

SougandhS commented Sep 21, 2026 via email

Copy link
Copy Markdown
Contributor Author

@merks
merks merged commit 6794c9e into eclipse-platform:master Sep 21, 2026
18 checks passed
SougandhS added a commit to SougandhS/www.eclipse.org-eclipse that referenced this pull request Sep 25, 2026
merks pushed a commit to eclipse-platform/www.eclipse.org-eclipse that referenced this pull request Sep 25, 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