Skip to content

Copy variables not really working well #400

@flip111

Description

@flip111

In the "Variables" pane where all the variables are listed in local scope (and a bunch of other scopes), when i have an array there and right click Copy Value i get

array(42)

When i click Copy as Expression i get

$forum_data_ary

These two options are somewhat useful. The "copy as expression" is more useful than "copy as value" though. Instead of just these two options could the following there be the following entries in the right click menu:

Copy as PHP (copies runnable PHP code to construct the variable)
Copy as JSON (copies JSON representation of variables)
Copy name (new name for "copy as expression")
Copy type  (new name for "copy as value")

Please put upvotes on microsoft/vscode#188604 as it blocks this ticket. See screenshot below on how to do an upvote

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions