{"action":"created","comment":{"url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/comments/243733988","pull_request_review_id":187589026,"id":243733988,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzczMzk4OA==","diff_hunk":"@@ -4,7 +4,7 @@\n !merge\n contexts: !merge\n   expression-begin: !prepend\n-    - match: (?=(?:styled|injectGlobal|keyframes){{identifier_break}})\n+    - match: (?=(?:styled|createGlobalStyle|injectGlobal|keyframes){{identifier_break}})","path":"extensions/styled_components.yaml","position":5,"original_position":5,"commit_id":"b89de7e21185fb8d94f9ff37c09e0a183163072d","original_commit_id":"b89de7e21185fb8d94f9ff37c09e0a183163072d","user":{"login":"hudochenkov","id":654597,"node_id":"MDQ6VXNlcjY1NDU5Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/654597?v=4","gravatar_id":"","url":"https://api.github.com/users/hudochenkov","html_url":"https://github.com/hudochenkov","followers_url":"https://api.github.com/users/hudochenkov/followers","following_url":"https://api.github.com/users/hudochenkov/following{/other_user}","gists_url":"https://api.github.com/users/hudochenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/hudochenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hudochenkov/subscriptions","organizations_url":"https://api.github.com/users/hudochenkov/orgs","repos_url":"https://api.github.com/users/hudochenkov/repos","events_url":"https://api.github.com/users/hudochenkov/events{/privacy}","received_events_url":"https://api.github.com/users/hudochenkov/received_events","type":"User","site_admin":false},"body":"Will it be ok to add [`css` helper](https://www.styled-components.com/docs/api#css) as well?\r\n\r\n```suggestion\r\n    - match: (?=(?:styled|createGlobalStyle|injectGlobal|keyframes){{identifier_break}})\r\n    + match: (?=(?:styled|css|createGlobalStyle|injectGlobal|keyframes){{identifier_break}})\r\n```","created_at":"2018-12-22T11:14:55Z","updated_at":"2018-12-22T11:14:55Z","html_url":"https://github.com/Thom1729/Sublime-JS-Custom/pull/55#discussion_r243733988","pull_request_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/comments/243733988"},"html":{"href":"https://github.com/Thom1729/Sublime-JS-Custom/pull/55#discussion_r243733988"},"pull_request":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55","id":240615731,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNjE1NzMx","html_url":"https://github.com/Thom1729/Sublime-JS-Custom/pull/55","diff_url":"https://github.com/Thom1729/Sublime-JS-Custom/pull/55.diff","patch_url":"https://github.com/Thom1729/Sublime-JS-Custom/pull/55.patch","issue_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/issues/55","number":55,"state":"open","locked":false,"title":"Enable emmet completions in styled-components","user":{"login":"mohitsinghs","id":4941333,"node_id":"MDQ6VXNlcjQ5NDEzMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/4941333?v=4","gravatar_id":"","url":"https://api.github.com/users/mohitsinghs","html_url":"https://github.com/mohitsinghs","followers_url":"https://api.github.com/users/mohitsinghs/followers","following_url":"https://api.github.com/users/mohitsinghs/following{/other_user}","gists_url":"https://api.github.com/users/mohitsinghs/gists{/gist_id}","starred_url":"https://api.github.com/users/mohitsinghs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohitsinghs/subscriptions","organizations_url":"https://api.github.com/users/mohitsinghs/orgs","repos_url":"https://api.github.com/users/mohitsinghs/repos","events_url":"https://api.github.com/users/mohitsinghs/events{/privacy}","received_events_url":"https://api.github.com/users/mohitsinghs/received_events","type":"User","site_admin":false},"body":"This pull request fixes #46 and also adds `createGlobalStyle` to support styled-components v4.\r\n\r\n**Problem**\r\nAs described by @hudochenkov in [this comment](https://github.com/Thom1729/Sublime-JS-Custom/issues/46#issuecomment-449530733), emmet abbreviation does not work inside styled-components.\r\n\r\n**Proposed solution**\r\nEmmet abbreviation do work when setting parent scope to css. We can do this by clearing entire scope when a template literal with styled-components is triggered and then re-adding js scope when styled-components block ends.\r\n\r\nThanks for creating such a great plugin @Thom1729 ","created_at":"2018-12-22T04:33:02Z","updated_at":"2018-12-22T11:14:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0495c4222dbff7e66553b80b3f663f3029fec57","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55/commits","review_comments_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55/comments","review_comment_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/issues/55/comments","statuses_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/statuses/b89de7e21185fb8d94f9ff37c09e0a183163072d","head":{"label":"mohitsinghs:emmet-styled-components","ref":"emmet-styled-components","sha":"b89de7e21185fb8d94f9ff37c09e0a183163072d","user":{"login":"mohitsinghs","id":4941333,"node_id":"MDQ6VXNlcjQ5NDEzMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/4941333?v=4","gravatar_id":"","url":"https://api.github.com/users/mohitsinghs","html_url":"https://github.com/mohitsinghs","followers_url":"https://api.github.com/users/mohitsinghs/followers","following_url":"https://api.github.com/users/mohitsinghs/following{/other_user}","gists_url":"https://api.github.com/users/mohitsinghs/gists{/gist_id}","starred_url":"https://api.github.com/users/mohitsinghs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohitsinghs/subscriptions","organizations_url":"https://api.github.com/users/mohitsinghs/orgs","repos_url":"https://api.github.com/users/mohitsinghs/repos","events_url":"https://api.github.com/users/mohitsinghs/events{/privacy}","received_events_url":"https://api.github.com/users/mohitsinghs/received_events","type":"User","site_admin":false},"repo":{"id":162779517,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI3Nzk1MTc=","name":"Sublime-JS-Custom","full_name":"mohitsinghs/Sublime-JS-Custom","private":false,"owner":{"login":"mohitsinghs","id":4941333,"node_id":"MDQ6VXNlcjQ5NDEzMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/4941333?v=4","gravatar_id":"","url":"https://api.github.com/users/mohitsinghs","html_url":"https://github.com/mohitsinghs","followers_url":"https://api.github.com/users/mohitsinghs/followers","following_url":"https://api.github.com/users/mohitsinghs/following{/other_user}","gists_url":"https://api.github.com/users/mohitsinghs/gists{/gist_id}","starred_url":"https://api.github.com/users/mohitsinghs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohitsinghs/subscriptions","organizations_url":"https://api.github.com/users/mohitsinghs/orgs","repos_url":"https://api.github.com/users/mohitsinghs/repos","events_url":"https://api.github.com/users/mohitsinghs/events{/privacy}","received_events_url":"https://api.github.com/users/mohitsinghs/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mohitsinghs/Sublime-JS-Custom","description":"Customizable JavaScript syntax highlighting for Sublime Text.","fork":true,"url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom","forks_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/forks","keys_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/teams","hooks_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/hooks","issue_events_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/issues/events{/number}","events_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/events","assignees_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/assignees{/user}","branches_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/branches{/branch}","tags_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/tags","blobs_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/git/refs{/sha}","trees_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/statuses/{sha}","languages_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/languages","stargazers_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/stargazers","contributors_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/contributors","subscribers_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/subscribers","subscription_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/subscription","commits_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/commits{/sha}","git_commits_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/git/commits{/sha}","comments_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/comments{/number}","issue_comment_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/issues/comments{/number}","contents_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/contents/{+path}","compare_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/merges","archive_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/downloads","issues_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/issues{/number}","pulls_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/pulls{/number}","milestones_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/milestones{/number}","notifications_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/labels{/name}","releases_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/releases{/id}","deployments_url":"https://api.github.com/repos/mohitsinghs/Sublime-JS-Custom/deployments","created_at":"2018-12-22T03:49:45Z","updated_at":"2018-12-22T03:49:47Z","pushed_at":"2018-12-22T04:50:41Z","git_url":"git://github.com/mohitsinghs/Sublime-JS-Custom.git","ssh_url":"git@github.com:mohitsinghs/Sublime-JS-Custom.git","clone_url":"https://github.com/mohitsinghs/Sublime-JS-Custom.git","svn_url":"https://github.com/mohitsinghs/Sublime-JS-Custom","homepage":"","size":271,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"Thom1729:master","ref":"master","sha":"89871d21de2dc2ac8230eea9cf9c4753fe9ba4e0","user":{"login":"Thom1729","id":16958499,"node_id":"MDQ6VXNlcjE2OTU4NDk5","avatar_url":"https://avatars2.githubusercontent.com/u/16958499?v=4","gravatar_id":"","url":"https://api.github.com/users/Thom1729","html_url":"https://github.com/Thom1729","followers_url":"https://api.github.com/users/Thom1729/followers","following_url":"https://api.github.com/users/Thom1729/following{/other_user}","gists_url":"https://api.github.com/users/Thom1729/gists{/gist_id}","starred_url":"https://api.github.com/users/Thom1729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thom1729/subscriptions","organizations_url":"https://api.github.com/users/Thom1729/orgs","repos_url":"https://api.github.com/users/Thom1729/repos","events_url":"https://api.github.com/users/Thom1729/events{/privacy}","received_events_url":"https://api.github.com/users/Thom1729/received_events","type":"User","site_admin":false},"repo":{"id":95924632,"node_id":"MDEwOlJlcG9zaXRvcnk5NTkyNDYzMg==","name":"Sublime-JS-Custom","full_name":"Thom1729/Sublime-JS-Custom","private":false,"owner":{"login":"Thom1729","id":16958499,"node_id":"MDQ6VXNlcjE2OTU4NDk5","avatar_url":"https://avatars2.githubusercontent.com/u/16958499?v=4","gravatar_id":"","url":"https://api.github.com/users/Thom1729","html_url":"https://github.com/Thom1729","followers_url":"https://api.github.com/users/Thom1729/followers","following_url":"https://api.github.com/users/Thom1729/following{/other_user}","gists_url":"https://api.github.com/users/Thom1729/gists{/gist_id}","starred_url":"https://api.github.com/users/Thom1729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thom1729/subscriptions","organizations_url":"https://api.github.com/users/Thom1729/orgs","repos_url":"https://api.github.com/users/Thom1729/repos","events_url":"https://api.github.com/users/Thom1729/events{/privacy}","received_events_url":"https://api.github.com/users/Thom1729/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Thom1729/Sublime-JS-Custom","description":"Customizable JavaScript syntax highlighting for Sublime Text.","fork":false,"url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom","forks_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/forks","keys_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/teams","hooks_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/hooks","issue_events_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/issues/events{/number}","events_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/events","assignees_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/assignees{/user}","branches_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/branches{/branch}","tags_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/tags","blobs_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/statuses/{sha}","languages_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/languages","stargazers_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/stargazers","contributors_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/contributors","subscribers_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/subscribers","subscription_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/subscription","commits_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/contents/{+path}","compare_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/merges","archive_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/downloads","issues_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/issues{/number}","pulls_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls{/number}","milestones_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/milestones{/number}","notifications_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/labels{/name}","releases_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/releases{/id}","deployments_url":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/deployments","created_at":"2017-06-30T21:17:58Z","updated_at":"2018-12-21T19:32:14Z","pushed_at":"2018-12-22T04:50:42Z","git_url":"git://github.com/Thom1729/Sublime-JS-Custom.git","ssh_url":"git@github.com:Thom1729/Sublime-JS-Custom.git","clone_url":"https://github.com/Thom1729/Sublime-JS-Custom.git","svn_url":"https://github.com/Thom1729/Sublime-JS-Custom","homepage":"","size":269,"stargazers_count":50,"watchers_count":50,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":15,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55"},"html":{"href":"https://github.com/Thom1729/Sublime-JS-Custom/pull/55"},"issue":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/issues/55"},"comments":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/Thom1729/Sublime-JS-Custom/statuses/b89de7e21185fb8d94f9ff37c09e0a183163072d"}},"author_association":"NONE"}}
{"actor":{"display_login":"hudochenkov"}}