Hey guys, great job with the new devtools 馃挴 perhaps this request can be put in the backlog for a future release as I think it could be quite useful and could save a few steps for developers.
What is the current behavior?
This is what was copied:

This is a pasted version in VSCode:

What is the desired behavior?

I would like to have a look at this one if that's OK?
@ChrisDobby It's all yours
But there is still an issue we want to have in mind, if we just copy the whole object structure, we can basically copy a huge chunk of vdom tree. For example, imagine if you try to copy the props of one of the high-level components (which has children) it can essentially lead to cases, that we create a JSON for almost the whole component tree, and I guess that is something we don't want.
This is why we already have Log this component data to console so you can copy the parts you want.
Another option is to be able to copy parts of props (have copy option for every input in props).
Yes I see what you mean. I have an implementation that copies the whole object structure of the props of a component without the children so it could be that this would be OK? If not then having a copy option for each input could work.
I am not in favor of adding a copy button for each prop field. That would clutter an already crowded interface.
I agree, just without children can work fine
Copying everything but children seems reasonable I think.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
Most helpful comment
I am not in favor of adding a copy button for each prop field. That would clutter an already crowded interface.