previewjs icon indicating copy to clipboard operation
previewjs copied to clipboard

Copy data from console log

Open valtism opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. I would like to be able to copy data output from the console, to put it in VS Code to better inspect the data. Right now you have to manually copy the data by highlighting it in the console. This sometimes fails because things like arrays are displayed without the wrapping [ and ] brackets.

Describe the solution you'd like I would like a context menu that allows me to copy the data.

Describe alternatives you've considered Just a representation of the data that I can copy it and it is valid JSON (e.g. arrays with brackets)

Additional context I realise I'm asking you to slowly develop chrome dev-tools inside this extension. Feel free to not implement any of these if they start to get too hard / niche.

valtism avatar Aug 16 '22 13:08 valtism

Sorry I forgot to reply to this one—I'll probably start by changing the format to be valid JSON :)

fwouts avatar Aug 28 '22 11:08 fwouts