Add drag & drop support from Variables and Expressions to Debug Shell#842
Add drag & drop support from Variables and Expressions to Debug Shell#842iloveeclipse merged 1 commit intoeclipse-jdt:masterfrom
Conversation
62d68dc to
40a7225
Compare
|
Hi @iloveeclipse, do you have any suggestions on this PR ? |
I hope this one is good to go ...I’m planning to merge it before M3. |
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java
Outdated
Show resolved
Hide resolved
|
I'm not familiar with DND, but it looks OK except one small issue I've noticed above with the extra space added. |
There was a problem hiding this comment.
Pull request overview
This PR adds drag and drop functionality to the Debug Shell (Display View), allowing variables from the Variables view and expressions from the Expressions view to be dragged and dropped into the Debug Shell at the caret position.
Changes:
- Enhanced
initDragAndDrop()method to support drop operations in addition to existing drag support - Added handling for
IVariableandIWatchExpressionobjects viaLocalSelectionTransfer - Implemented drop event handlers for visual feedback and text insertion
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java
Outdated
Show resolved
Hide resolved
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java
Outdated
Show resolved
Hide resolved
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java
Show resolved
Hide resolved
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayView.java
Outdated
Show resolved
Hide resolved
Allow variables and expressions to be dragged from their respective views and inserted into the Debug Shell at the caret location.
|
Thanks. Please also add N&N entry. |
|
Thank you @iloveeclipse
will include this in N&N 👍 |
Allow variables and expressions to be dragged from their respective views and inserted into the Debug Shell at the caret location.
Drg.mp4
What it does
How to test
Author checklist