When debugging in PhpStorm, I know that you can right-click on a variable in the Variables panel and select the Copy Value item in the context menu. Is there a way to copy a data structure like an array or an object?
$_GET = {array} [1] someVariable = "Hello this is a value, and it happens to be a string" anotherVar = "What is this string"
If I right-click on 'someVariable' and select 'Copy Value', I will have a line in my clipboard.
If I right-click on a row with an array and select "Copy value", I get "[1]" in my clipboard.
I would really like it when I right-clicked and “Copy value” in the array to have something like this in my clipboard:
'[ 'someVariable' = 'Hello this is a value, and it happens to be a string', 'anotherVar' = 'What is this string ]'
Any ideas, or should someone make this plugin?;)
phpstorm
user1798627
source share