From 7477cfff49bfec4c248b88c5534b8219ea3cae8c Mon Sep 17 00:00:00 2001 From: Sougandh S Date: Tue, 7 Jul 2026 16:59:32 +0530 Subject: [PATCH] Extend "Compare with Clipboard" feature in Expressions View Extended the "Compare with Clipboard" feature to support expressions in addition to variables. The action now handles IJavaVariable and IExpression --- org.eclipse.jdt.debug.ui/plugin.properties | 7 +- org.eclipse.jdt.debug.ui/plugin.xml | 15 +- .../actions/CompareObjectWithClipboard.java | 134 ++++++++++++++---- 3 files changed, 126 insertions(+), 30 deletions(-) diff --git a/org.eclipse.jdt.debug.ui/plugin.properties b/org.eclipse.jdt.debug.ui/plugin.properties index 4e7fca4bc4..a05fd27241 100644 --- a/org.eclipse.jdt.debug.ui/plugin.properties +++ b/org.eclipse.jdt.debug.ui/plugin.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2000, 2025 IBM Corporation and others. +# Copyright (c) 2000, 2026 IBM Corporation and others. # # This program and the accompanying materials # are made available under the terms of the Eclipse Public License 2.0 @@ -353,4 +353,7 @@ ToggleHitpointAction.label=Toggle Breakpoint with Hit Count ToggleHitpointCommand.description=Creates or removes a breakpoint with hit count CompareVariableClipboard.label=Compare With Clipboard -CompareVariableClipboard.tooltip=Compare Variable's Value with Clipboard Content \ No newline at end of file +CompareVariableClipboard.tooltip=Compare Variable's Value with Clipboard Content + +CompareExpressionClipboard.label=Compare With Clipboard +CompareExpressionClipboard.tooltip=Compare Expressions's Value with Clipboard Content \ No newline at end of file diff --git a/org.eclipse.jdt.debug.ui/plugin.xml b/org.eclipse.jdt.debug.ui/plugin.xml index 4643154b7b..668b05985d 100644 --- a/org.eclipse.jdt.debug.ui/plugin.xml +++ b/org.eclipse.jdt.debug.ui/plugin.xml @@ -1,7 +1,7 @@