GitHub PullRequestReviewCommentEvent at 2014-12-25 15:11:32
Repository: ClangAutoComplete
Actor: pl-ca
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/comments/22273804","id":22273804,"diff_hunk":"@@ -93,6 +114,13 @@ def on_query_completions(self, view, prefix, locations):\n \t\t\t\tcontinue\n \t\t\tif len(tmp_res[0][0]) > longest_len:\n \t\t\t\tlongest_len = len(tmp_res[0][0])\n+\t\t\t\t\n+\t\t\t#COMPLETION lines format sugar\n+\t\t\tcompl_line = tmp_res[0][1];\n+\t\t\tif self.completion_sugar == \"true\":\n+\t\t\t\tcompl_line = compl_line.replace(\"]\", \" \")\n+\t\t\t\tcompl_line = re.sub(self.compl_sugar, \"\", compl_line)\n+\t\t\t\t\n \t\t\tresult.append([tmp_res[0][1], tmp_res[0][0]])","path":"ClangAutoComplete.py","position":66,"original_position":66,"commit_id":"49368496f2c3e02de0ba621cceda3a4faeefe3bc","original_commit_id":"49368496f2c3e02de0ba621cceda3a4faeefe3bc","user":{"login":"pl-ca","id":9813472,"avatar_url":"https://avatars.githubusercontent.com/u/9813472?v=3","gravatar_id":"","url":"https://api.github.com/users/pl-ca","html_url":"https://github.com/pl-ca","followers_url":"https://api.github.com/users/pl-ca/followers","following_url":"https://api.github.com/users/pl-ca/following{/other_user}","gists_url":"https://api.github.com/users/pl-ca/gists{/gist_id}","starred_url":"https://api.github.com/users/pl-ca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pl-ca/subscriptions","organizations_url":"https://api.github.com/users/pl-ca/orgs","repos_url":"https://api.github.com/users/pl-ca/repos","events_url":"https://api.github.com/users/pl-ca/events{/privacy}","received_events_url":"https://api.github.com/users/pl-ca/received_events","type":"User","site_admin":false},"body":"I think this line should be \r\n\r\nresult.append([compl_line, tmp_res[0][0]])\r\n\r\nam I right?","created_at":"2014-12-25T15:11:32Z","updated_at":"2014-12-25T15:11:32Z","html_url":"https://github.com/pl-ca/ClangAutoComplete/pull/2#discussion_r22273804","pull_request_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/comments/22273804"},"html":{"href":"https://github.com/pl-ca/ClangAutoComplete/pull/2#discussion_r22273804"},"pull_request":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2","id":26570853,"html_url":"https://github.com/pl-ca/ClangAutoComplete/pull/2","diff_url":"https://github.com/pl-ca/ClangAutoComplete/pull/2.diff","patch_url":"https://github.com/pl-ca/ClangAutoComplete/pull/2.patch","issue_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/2","number":2,"state":"open","locked":false,"title":"a few features","user":{"login":"vans163","id":3028982,"avatar_url":"https://avatars.githubusercontent.com/u/3028982?v=3","gravatar_id":"","url":"https://api.github.com/users/vans163","html_url":"https://github.com/vans163","followers_url":"https://api.github.com/users/vans163/followers","following_url":"https://api.github.com/users/vans163/following{/other_user}","gists_url":"https://api.github.com/users/vans163/gists{/gist_id}","starred_url":"https://api.github.com/users/vans163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vans163/subscriptions","organizations_url":"https://api.github.com/users/vans163/orgs","repos_url":"https://api.github.com/users/vans163/repos","events_url":"https://api.github.com/users/vans163/events{/privacy}","received_events_url":"https://api.github.com/users/vans163/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-25T00:17:30Z","updated_at":"2014-12-25T15:11:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"542c5d70fbb149bc0a9bf47994fcb175ea75ce55","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2/commits","review_comments_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2/comments","review_comment_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/2/comments","statuses_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/statuses/49368496f2c3e02de0ba621cceda3a4faeefe3bc","head":{"label":"vans163:patch-2","ref":"patch-2","sha":"49368496f2c3e02de0ba621cceda3a4faeefe3bc","user":{"login":"vans163","id":3028982,"avatar_url":"https://avatars.githubusercontent.com/u/3028982?v=3","gravatar_id":"","url":"https://api.github.com/users/vans163","html_url":"https://github.com/vans163","followers_url":"https://api.github.com/users/vans163/followers","following_url":"https://api.github.com/users/vans163/following{/other_user}","gists_url":"https://api.github.com/users/vans163/gists{/gist_id}","starred_url":"https://api.github.com/users/vans163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vans163/subscriptions","organizations_url":"https://api.github.com/users/vans163/orgs","repos_url":"https://api.github.com/users/vans163/repos","events_url":"https://api.github.com/users/vans163/events{/privacy}","received_events_url":"https://api.github.com/users/vans163/received_events","type":"User","site_admin":false},"repo":{"id":28465224,"name":"ClangAutoComplete","full_name":"vans163/ClangAutoComplete","owner":{"login":"vans163","id":3028982,"avatar_url":"https://avatars.githubusercontent.com/u/3028982?v=3","gravatar_id":"","url":"https://api.github.com/users/vans163","html_url":"https://github.com/vans163","followers_url":"https://api.github.com/users/vans163/followers","following_url":"https://api.github.com/users/vans163/following{/other_user}","gists_url":"https://api.github.com/users/vans163/gists{/gist_id}","starred_url":"https://api.github.com/users/vans163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vans163/subscriptions","organizations_url":"https://api.github.com/users/vans163/orgs","repos_url":"https://api.github.com/users/vans163/repos","events_url":"https://api.github.com/users/vans163/events{/privacy}","received_events_url":"https://api.github.com/users/vans163/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vans163/ClangAutoComplete","description":"Sublime Text 3 plugin that offers auto-completion of C/C++ structure members or class attributes and methods.","fork":true,"url":"https://api.github.com/repos/vans163/ClangAutoComplete","forks_url":"https://api.github.com/repos/vans163/ClangAutoComplete/forks","keys_url":"https://api.github.com/repos/vans163/ClangAutoComplete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vans163/ClangAutoComplete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vans163/ClangAutoComplete/teams","hooks_url":"https://api.github.com/repos/vans163/ClangAutoComplete/hooks","issue_events_url":"https://api.github.com/repos/vans163/ClangAutoComplete/issues/events{/number}","events_url":"https://api.github.com/repos/vans163/ClangAutoComplete/events","assignees_url":"https://api.github.com/repos/vans163/ClangAutoComplete/assignees{/user}","branches_url":"https://api.github.com/repos/vans163/ClangAutoComplete/branches{/branch}","tags_url":"https://api.github.com/repos/vans163/ClangAutoComplete/tags","blobs_url":"https://api.github.com/repos/vans163/ClangAutoComplete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vans163/ClangAutoComplete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vans163/ClangAutoComplete/git/refs{/sha}","trees_url":"https://api.github.com/repos/vans163/ClangAutoComplete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vans163/ClangAutoComplete/statuses/{sha}","languages_url":"https://api.github.com/repos/vans163/ClangAutoComplete/languages","stargazers_url":"https://api.github.com/repos/vans163/ClangAutoComplete/stargazers","contributors_url":"https://api.github.com/repos/vans163/ClangAutoComplete/contributors","subscribers_url":"https://api.github.com/repos/vans163/ClangAutoComplete/subscribers","subscription_url":"https://api.github.com/repos/vans163/ClangAutoComplete/subscription","commits_url":"https://api.github.com/repos/vans163/ClangAutoComplete/commits{/sha}","git_commits_url":"https://api.github.com/repos/vans163/ClangAutoComplete/git/commits{/sha}","comments_url":"https://api.github.com/repos/vans163/ClangAutoComplete/comments{/number}","issue_comment_url":"https://api.github.com/repos/vans163/ClangAutoComplete/issues/comments/{number}","contents_url":"https://api.github.com/repos/vans163/ClangAutoComplete/contents/{+path}","compare_url":"https://api.github.com/repos/vans163/ClangAutoComplete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vans163/ClangAutoComplete/merges","archive_url":"https://api.github.com/repos/vans163/ClangAutoComplete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vans163/ClangAutoComplete/downloads","issues_url":"https://api.github.com/repos/vans163/ClangAutoComplete/issues{/number}","pulls_url":"https://api.github.com/repos/vans163/ClangAutoComplete/pulls{/number}","milestones_url":"https://api.github.com/repos/vans163/ClangAutoComplete/milestones{/number}","notifications_url":"https://api.github.com/repos/vans163/ClangAutoComplete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vans163/ClangAutoComplete/labels{/name}","releases_url":"https://api.github.com/repos/vans163/ClangAutoComplete/releases{/id}","created_at":"2014-12-25T00:04:26Z","updated_at":"2014-12-25T00:17:14Z","pushed_at":"2014-12-25T00:19:03Z","git_url":"git://github.com/vans163/ClangAutoComplete.git","ssh_url":"git@github.com:vans163/ClangAutoComplete.git","clone_url":"https://github.com/vans163/ClangAutoComplete.git","svn_url":"https://github.com/vans163/ClangAutoComplete","homepage":null,"size":109,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pl-ca:master","ref":"master","sha":"abc6fdfc5dc7e5046855f94e844f0743b4693007","user":{"login":"pl-ca","id":9813472,"avatar_url":"https://avatars.githubusercontent.com/u/9813472?v=3","gravatar_id":"","url":"https://api.github.com/users/pl-ca","html_url":"https://github.com/pl-ca","followers_url":"https://api.github.com/users/pl-ca/followers","following_url":"https://api.github.com/users/pl-ca/following{/other_user}","gists_url":"https://api.github.com/users/pl-ca/gists{/gist_id}","starred_url":"https://api.github.com/users/pl-ca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pl-ca/subscriptions","organizations_url":"https://api.github.com/users/pl-ca/orgs","repos_url":"https://api.github.com/users/pl-ca/repos","events_url":"https://api.github.com/users/pl-ca/events{/privacy}","received_events_url":"https://api.github.com/users/pl-ca/received_events","type":"User","site_admin":false},"repo":{"id":26786970,"name":"ClangAutoComplete","full_name":"pl-ca/ClangAutoComplete","owner":{"login":"pl-ca","id":9813472,"avatar_url":"https://avatars.githubusercontent.com/u/9813472?v=3","gravatar_id":"","url":"https://api.github.com/users/pl-ca","html_url":"https://github.com/pl-ca","followers_url":"https://api.github.com/users/pl-ca/followers","following_url":"https://api.github.com/users/pl-ca/following{/other_user}","gists_url":"https://api.github.com/users/pl-ca/gists{/gist_id}","starred_url":"https://api.github.com/users/pl-ca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pl-ca/subscriptions","organizations_url":"https://api.github.com/users/pl-ca/orgs","repos_url":"https://api.github.com/users/pl-ca/repos","events_url":"https://api.github.com/users/pl-ca/events{/privacy}","received_events_url":"https://api.github.com/users/pl-ca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pl-ca/ClangAutoComplete","description":"Sublime Text 3 plugin that offers auto-completion of C/C++ structure members or class attributes and methods.","fork":false,"url":"https://api.github.com/repos/pl-ca/ClangAutoComplete","forks_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/forks","keys_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/teams","hooks_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/hooks","issue_events_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/events{/number}","events_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/events","assignees_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/assignees{/user}","branches_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/branches{/branch}","tags_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/tags","blobs_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/git/refs{/sha}","trees_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/statuses/{sha}","languages_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/languages","stargazers_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/stargazers","contributors_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/contributors","subscribers_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/subscribers","subscription_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/subscription","commits_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/commits{/sha}","git_commits_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/git/commits{/sha}","comments_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/comments{/number}","issue_comment_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/comments/{number}","contents_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/contents/{+path}","compare_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/merges","archive_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/downloads","issues_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues{/number}","pulls_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls{/number}","milestones_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/milestones{/number}","notifications_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/labels{/name}","releases_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/releases{/id}","created_at":"2014-11-18T01:49:40Z","updated_at":"2014-12-25T15:04:19Z","pushed_at":"2014-12-25T15:04:18Z","git_url":"git://github.com/pl-ca/ClangAutoComplete.git","ssh_url":"git@github.com:pl-ca/ClangAutoComplete.git","clone_url":"https://github.com/pl-ca/ClangAutoComplete.git","svn_url":"https://github.com/pl-ca/ClangAutoComplete","homepage":null,"size":224,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2"},"html":{"href":"https://github.com/pl-ca/ClangAutoComplete/pull/2"},"issue":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/2"},"comments":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/pl-ca/ClangAutoComplete/statuses/49368496f2c3e02de0ba621cceda3a4faeefe3bc"}}}}