-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Ability to copy an object to text #442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you aware you can copy the state already by clicking on the copy button? |
@posva Yes I've seen this. However this copies the entire state. It would be nice to be able to copy just one single object/array/etc. |
@crcatala Yes, something like that would be awesome. Don't know if anyone else than me think this would be a great feature? |
I suggest adding a context menu with several items, like copy value or store as global var. Let's not clutter the state inspector too much (there are Edit buttons already). |
@Akryum fair point, to support further actions in the future perhaps a context dropdown such as: |
Refs vuejs#442 * Adds more actions to dropdown * Currently adds one item - Copy Value (to clipboard)
Refs vuejs#442 * Adds more actions to dropdown * Currently adds one item - Copy Value (to clipboard)
Refs vuejs#442 * Adds more actions to dropdown * Currently adds one item - Copy Value (to clipboard)
Refs vuejs#442 * Adds more actions to dropdown * Currently adds one item - Copy Value (to clipboard)
Refs vuejs#442 * Adds more actions to dropdown * Currently adds one item - Copy Value (to clipboard)
* Add context menu to DataField Refs #442 * Adds more actions to dropdown * Currently adds one item - Copy Value (to clipboard) * feat: refactor to VueDropdown + auto close delay
One feature that would be awesome is to be able to right click an object in the vue-devtools store panel, and select "Copy to text".
Sometimes I find it can be very useful to be able to copy for example an array of objects, and paste it to a text editor. That way I don't have to expand all the array objects one by one, and I can perform text searches of the data.
The text was updated successfully, but these errors were encountered: