{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/63007","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/63007/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/63007/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/63007/events","html_url":"https://github.com/Microsoft/vscode/issues/63007","id":380127801,"node_id":"MDU6SXNzdWUzODAxMjc4MDE=","number":63007,"title":"Copy the complete value from the Variables pane","user":{"login":"ndbroadbent","id":139536,"node_id":"MDQ6VXNlcjEzOTUzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/139536?v=4","gravatar_id":"","url":"https://api.github.com/users/ndbroadbent","html_url":"https://github.com/ndbroadbent","followers_url":"https://api.github.com/users/ndbroadbent/followers","following_url":"https://api.github.com/users/ndbroadbent/following{/other_user}","gists_url":"https://api.github.com/users/ndbroadbent/gists{/gist_id}","starred_url":"https://api.github.com/users/ndbroadbent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndbroadbent/subscriptions","organizations_url":"https://api.github.com/users/ndbroadbent/orgs","repos_url":"https://api.github.com/users/ndbroadbent/repos","events_url":"https://api.github.com/users/ndbroadbent/events{/privacy}","received_events_url":"https://api.github.com/users/ndbroadbent/received_events","type":"User","site_admin":false},"labels":[{"id":291054922,"node_id":"MDU6TGFiZWwyOTEwNTQ5MjI=","url":"https://api.github.com/repos/Microsoft/vscode/labels/debug","name":"debug","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"weinand","id":1898161,"node_id":"MDQ6VXNlcjE4OTgxNjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1898161?v=4","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},"assignees":[{"login":"weinand","id":1898161,"node_id":"MDQ6VXNlcjE4OTgxNjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1898161?v=4","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},{"login":"isidorn","id":1926584,"node_id":"MDQ6VXNlcjE5MjY1ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1926584?v=4","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-11-13T09:17:52Z","updated_at":"2018-11-13T13:56:18Z","closed_at":null,"author_association":"NONE","body":"Maybe related to: https://github.com/Microsoft/vscode/issues/2163\r\n\r\nI'm working on some tests for a library that modifies webpack configuration. I started the debugger to inspect the current webpack config, and now I'm struggling to copy/paste the existing rules so that I can use them as a test case.\r\n\r\nI don't want to use `JSON.stringify` to get the string output because the JS object contains some regexes and they can't be serialized. I'm looking for an easy way to copy/paste the complete JavaScript Object, including all of the nested Objects and Arrays, but with JS syntax instead of JSON.\r\n\r\n<img width=\"365\" alt=\"screen shot 2018-11-13 at 4 14 34 pm\" src=\"https://user-images.githubusercontent.com/139536/48403069-b470c980-e75f-11e8-946b-0b94bb3d216c.png\">\r\n\r\nI've tried right-clicking on `rules`. If I click \"Copy Value\" I just get the following string in my clipboard:\r\n\r\n```\r\nArray(3) [Object, Object, Object]\r\n```\r\n\r\nIf I click \"Copy as Expression\", I get:\r\n\r\n```\r\nwebpackConfig.module.rules\r\n```\r\n\r\nWould it be possible to add something like \"Copy Full Value\"? Not sure how to name it.\r\n\r\nOr is there a way I can serialize this into a string that can be copy/pasted? I also tried `webpackConfig.module.rules.toString()`, but I just get:\r\n\r\n```\r\n\"[object Object],[object Object],[object Object]\"\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/438274146","html_url":"https://github.com/Microsoft/vscode/issues/63007#issuecomment-438274146","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/63007","id":438274146,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODI3NDE0Ng==","user":{"login":"ndbroadbent","id":139536,"node_id":"MDQ6VXNlcjEzOTUzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/139536?v=4","gravatar_id":"","url":"https://api.github.com/users/ndbroadbent","html_url":"https://github.com/ndbroadbent","followers_url":"https://api.github.com/users/ndbroadbent/followers","following_url":"https://api.github.com/users/ndbroadbent/following{/other_user}","gists_url":"https://api.github.com/users/ndbroadbent/gists{/gist_id}","starred_url":"https://api.github.com/users/ndbroadbent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndbroadbent/subscriptions","organizations_url":"https://api.github.com/users/ndbroadbent/orgs","repos_url":"https://api.github.com/users/ndbroadbent/repos","events_url":"https://api.github.com/users/ndbroadbent/events{/privacy}","received_events_url":"https://api.github.com/users/ndbroadbent/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T13:56:18Z","updated_at":"2018-11-13T13:56:18Z","author_association":"NONE","body":"Here is a prototype that is working for me, but doesn't know anything about the language: https://github.com/ndbroadbent/vscode/commit/7d37fe02b924305125092d39d10bce43e9eb54ce"}}
{"actor":{"display_login":"ndbroadbent"}}