debugger - copy nested var declaration vs copy var name

In the debugger it is possible to copy the value of any item as well as the name.
When working with Drupal 7, more often than not you are dealing with n levels of nested arrays and objects.

Screenshot 2013-10-18 16.23.09.png

In the above example it would be a lot more useful if "Copy Name" would not only copy "0" to the clipboard, but instead cover the full nesting:
"$form['revision_information']['#attributes']['class']['0']"

Is something like this already possible in PHPStorm 6/7 ?

3 comments
Comment actions Permalink

Hello,

We already have feature request for it: http://youtrack.jetbrains.com/issue/WI-10602 Please, feel free to vote.

As a workaround you can "Add to Watches" and then "Copy Name" (from Watches frame).

0
Comment actions Permalink

Has this been delivered?

0
Comment actions Permalink

@Jeremy Foran

>Has this been delivered?

https://youtrack.jetbrains.com/issue/WI-10602

Fix versions: 8.0.4

Accordingly to the above -- yes, in PhpStorm v8 (which is year 2014 -- 5 years ago)

0

Please sign in to leave a comment.