{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/12","id":215597324,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NTk3MzI0","html_url":"https://github.com/aefernandes/vscode-clipboard-history-extension/pull/12","diff_url":"https://github.com/aefernandes/vscode-clipboard-history-extension/pull/12.diff","patch_url":"https://github.com/aefernandes/vscode-clipboard-history-extension/pull/12.patch","issue_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/issues/12","number":12,"state":"open","locked":false,"title":"Change paste behavior to allow last paste to be moved to top of list","user":{"login":"s1moe2","id":36140182,"node_id":"MDQ6VXNlcjM2MTQwMTgy","avatar_url":"https://avatars0.githubusercontent.com/u/36140182?v=4","gravatar_id":"","url":"https://api.github.com/users/s1moe2","html_url":"https://github.com/s1moe2","followers_url":"https://api.github.com/users/s1moe2/followers","following_url":"https://api.github.com/users/s1moe2/following{/other_user}","gists_url":"https://api.github.com/users/s1moe2/gists{/gist_id}","starred_url":"https://api.github.com/users/s1moe2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1moe2/subscriptions","organizations_url":"https://api.github.com/users/s1moe2/orgs","repos_url":"https://api.github.com/users/s1moe2/repos","events_url":"https://api.github.com/users/s1moe2/events{/privacy}","received_events_url":"https://api.github.com/users/s1moe2/received_events","type":"User","site_admin":false},"body":"[Issue #5](https://github.com/aefernandes/vscode-clipboard-history-extension/issues/5)\r\nAdded a config option to change the behavior of paste action so it keeps the last pasted item on the top of the list: `\"pasteBehavior\": \"keepLastPaste\"` can be set in `package.json`, otherwise the previous behavior will remain. Note that I also changed the way the \"regular\" paste works so that it actually fetches this most recent pasted item.\r\nFixed a minor bug on pasteSelected caused by the param being undefined.\r\nCode cleanup and standardisation (a few missing ;'s, changed some let/vars for const and removed unused code lines).","created_at":"2018-09-14T13:38:26Z","updated_at":"2018-09-14T13:38:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/12/commits","review_comments_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/12/comments","review_comment_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/issues/12/comments","statuses_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/statuses/02dd4d69b47fdb238fb1ff6acddbcb928d07ce3d","head":{"label":"s1moe2:master","ref":"master","sha":"02dd4d69b47fdb238fb1ff6acddbcb928d07ce3d","user":{"login":"s1moe2","id":36140182,"node_id":"MDQ6VXNlcjM2MTQwMTgy","avatar_url":"https://avatars0.githubusercontent.com/u/36140182?v=4","gravatar_id":"","url":"https://api.github.com/users/s1moe2","html_url":"https://github.com/s1moe2","followers_url":"https://api.github.com/users/s1moe2/followers","following_url":"https://api.github.com/users/s1moe2/following{/other_user}","gists_url":"https://api.github.com/users/s1moe2/gists{/gist_id}","starred_url":"https://api.github.com/users/s1moe2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1moe2/subscriptions","organizations_url":"https://api.github.com/users/s1moe2/orgs","repos_url":"https://api.github.com/users/s1moe2/repos","events_url":"https://api.github.com/users/s1moe2/events{/privacy}","received_events_url":"https://api.github.com/users/s1moe2/received_events","type":"User","site_admin":false},"repo":{"id":148773215,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg3NzMyMTU=","name":"vscode-clipboard-history-extension","full_name":"s1moe2/vscode-clipboard-history-extension","owner":{"login":"s1moe2","id":36140182,"node_id":"MDQ6VXNlcjM2MTQwMTgy","avatar_url":"https://avatars0.githubusercontent.com/u/36140182?v=4","gravatar_id":"","url":"https://api.github.com/users/s1moe2","html_url":"https://github.com/s1moe2","followers_url":"https://api.github.com/users/s1moe2/followers","following_url":"https://api.github.com/users/s1moe2/following{/other_user}","gists_url":"https://api.github.com/users/s1moe2/gists{/gist_id}","starred_url":"https://api.github.com/users/s1moe2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1moe2/subscriptions","organizations_url":"https://api.github.com/users/s1moe2/orgs","repos_url":"https://api.github.com/users/s1moe2/repos","events_url":"https://api.github.com/users/s1moe2/events{/privacy}","received_events_url":"https://api.github.com/users/s1moe2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s1moe2/vscode-clipboard-history-extension","description":null,"fork":true,"url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension","forks_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/forks","keys_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/teams","hooks_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/hooks","issue_events_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/issues/events{/number}","events_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/events","assignees_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/assignees{/user}","branches_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/branches{/branch}","tags_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/tags","blobs_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/languages","stargazers_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/stargazers","contributors_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/contributors","subscribers_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/subscribers","subscription_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/subscription","commits_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/contents/{+path}","compare_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/merges","archive_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/downloads","issues_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/issues{/number}","pulls_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/labels{/name}","releases_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/releases{/id}","deployments_url":"https://api.github.com/repos/s1moe2/vscode-clipboard-history-extension/deployments","created_at":"2018-09-14T10:23:31Z","updated_at":"2018-09-14T11:47:42Z","pushed_at":"2018-09-14T11:47:40Z","git_url":"git://github.com/s1moe2/vscode-clipboard-history-extension.git","ssh_url":"git@github.com:s1moe2/vscode-clipboard-history-extension.git","clone_url":"https://github.com/s1moe2/vscode-clipboard-history-extension.git","svn_url":"https://github.com/s1moe2/vscode-clipboard-history-extension","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aefernandes:master","ref":"master","sha":"75f5aeda9f258a487d03c56cbde5d74c82d89c5f","user":{"login":"aefernandes","id":7109548,"node_id":"MDQ6VXNlcjcxMDk1NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/7109548?v=4","gravatar_id":"","url":"https://api.github.com/users/aefernandes","html_url":"https://github.com/aefernandes","followers_url":"https://api.github.com/users/aefernandes/followers","following_url":"https://api.github.com/users/aefernandes/following{/other_user}","gists_url":"https://api.github.com/users/aefernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/aefernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aefernandes/subscriptions","organizations_url":"https://api.github.com/users/aefernandes/orgs","repos_url":"https://api.github.com/users/aefernandes/repos","events_url":"https://api.github.com/users/aefernandes/events{/privacy}","received_events_url":"https://api.github.com/users/aefernandes/received_events","type":"User","site_admin":false},"repo":{"id":93366461,"node_id":"MDEwOlJlcG9zaXRvcnk5MzM2NjQ2MQ==","name":"vscode-clipboard-history-extension","full_name":"aefernandes/vscode-clipboard-history-extension","owner":{"login":"aefernandes","id":7109548,"node_id":"MDQ6VXNlcjcxMDk1NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/7109548?v=4","gravatar_id":"","url":"https://api.github.com/users/aefernandes","html_url":"https://github.com/aefernandes","followers_url":"https://api.github.com/users/aefernandes/followers","following_url":"https://api.github.com/users/aefernandes/following{/other_user}","gists_url":"https://api.github.com/users/aefernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/aefernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aefernandes/subscriptions","organizations_url":"https://api.github.com/users/aefernandes/orgs","repos_url":"https://api.github.com/users/aefernandes/repos","events_url":"https://api.github.com/users/aefernandes/events{/privacy}","received_events_url":"https://api.github.com/users/aefernandes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aefernandes/vscode-clipboard-history-extension","description":null,"fork":false,"url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension","forks_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/forks","keys_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/teams","hooks_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/hooks","issue_events_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/issues/events{/number}","events_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/events","assignees_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/assignees{/user}","branches_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/branches{/branch}","tags_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/tags","blobs_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/languages","stargazers_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/stargazers","contributors_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/contributors","subscribers_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/subscribers","subscription_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/subscription","commits_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/contents/{+path}","compare_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/merges","archive_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/downloads","issues_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/issues{/number}","pulls_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/labels{/name}","releases_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/releases{/id}","deployments_url":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/deployments","created_at":"2017-06-05T04:56:47Z","updated_at":"2018-09-14T10:23:19Z","pushed_at":"2018-05-11T16:55:41Z","git_url":"git://github.com/aefernandes/vscode-clipboard-history-extension.git","ssh_url":"git@github.com:aefernandes/vscode-clipboard-history-extension.git","clone_url":"https://github.com/aefernandes/vscode-clipboard-history-extension.git","svn_url":"https://github.com/aefernandes/vscode-clipboard-history-extension","homepage":null,"size":91,"stargazers_count":16,"watchers_count":16,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":10,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/12"},"html":{"href":"https://github.com/aefernandes/vscode-clipboard-history-extension/pull/12"},"issue":{"href":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/issues/12"},"comments":{"href":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/aefernandes/vscode-clipboard-history-extension/statuses/02dd4d69b47fdb238fb1ff6acddbcb928d07ce3d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":72,"deletions":35,"changed_files":2}}
{"actor":{"display_login":"s1moe2"}}