-
-
Notifications
You must be signed in to change notification settings - Fork 182
feat: support clipboard context on variable copy operation #917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## main #917 +/- ##
==========================================
+ Coverage 67.00% 67.28% +0.27%
==========================================
Files 14 14
Lines 1982 2005 +23
Branches 389 395 +6
==========================================
+ Hits 1328 1349 +21
- Misses 654 656 +2
|
|
Using eval here causes issues, for example, when accessing private properties. Also it does not have support for stack depth. https://bugs.xdebug.org/view.php?id=1342 |
|
I'd love to see this implemented. 👀 |
|
Are there any updates on this? It would be definitely great to export all data while debugging |
|
Sorry about letting this one fall through the cracks... I'll find some time to implement this asap. |
|
Are there any updates on this? I'm still looking for the possibility of copying all variable values (array, not a single value). Also, it would be great to copy all debug output to a file or clipboard. |
|
Not yet, but will get to it. How would you prefer the "copy" operation on a variable would work?
Edit: There are a bunch of issues related to this, and I think I decided to go in the direction of |
|
It doesn't matter, any variant would be useful. p.s. I see that you've decided to go with var_export already! Thank you! p.s.2 related #issue |
|
Please add this feature |
|
🎉 This PR is included in version 1.36.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
Identifier: xdebug.php-debug Can't find any difference. Copy value: returns an Am I doing something wrong? |
|
Hi. Can you open a new issue with some example code and most important, the debug log. I could not reproduce the problem you are describing. |
When the IDE requests evaluation with clipboard context use var_export to format the response