php-debugbar
php-debugbar copied to clipboard
[Request] Copy to Clipboard
When viewing messages with var_dumps, I often want to copy the message to clipboard, but the message collapse when clicking, so that makes it hard to select the data. What would you think on adding a copy-to-clipboard feature? Either by a button/link, for example with https://github.com/zeroclipboard/ZeroClipboard or using something similar to this http://stackoverflow.com/questions/17527870/how-does-trello-access-the-users-clipboard to use Ctrl+C to copy the last clicked message/query etc.
+1 good point for improvements
I know this is old, but it is what I am looking for - I often want to copy the message, or copy the SQL query from the Databases tab, or even copy the params. A "copy" button would be very helpful, as it is tricky to highlight more than just that one message so that it doesn't collapse (and then to paste and delete the bits not needed).
An alternative would be for there to be an "expand/collapse" button so that the behaviour to expand is limited to clicking there, then selecting and copying could work as normal. Potentially this would be an option to set somewhere so as to not to disrupt the workflow of those used to the current behaviour.
If I should create this as a new issue, please let me know @maximebf.