{"action":"created","issue":{"url":"https://api.github.com/repos/styled-components/webstorm-styled-components/issues/46","repository_url":"https://api.github.com/repos/styled-components/webstorm-styled-components","labels_url":"https://api.github.com/repos/styled-components/webstorm-styled-components/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/styled-components/webstorm-styled-components/issues/46/comments","events_url":"https://api.github.com/repos/styled-components/webstorm-styled-components/issues/46/events","html_url":"https://github.com/styled-components/webstorm-styled-components/issues/46","id":317093474,"number":46,"title":"css`` slows down Webstorm, also lets Webstorm hang when adding parameters","user":{"login":"klabusta","id":26739141,"avatar_url":"https://avatars1.githubusercontent.com/u/26739141?v=4","gravatar_id":"","url":"https://api.github.com/users/klabusta","html_url":"https://github.com/klabusta","followers_url":"https://api.github.com/users/klabusta/followers","following_url":"https://api.github.com/users/klabusta/following{/other_user}","gists_url":"https://api.github.com/users/klabusta/gists{/gist_id}","starred_url":"https://api.github.com/users/klabusta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klabusta/subscriptions","organizations_url":"https://api.github.com/users/klabusta/orgs","repos_url":"https://api.github.com/users/klabusta/repos","events_url":"https://api.github.com/users/klabusta/events{/privacy}","received_events_url":"https://api.github.com/users/klabusta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-24T06:56:07Z","updated_at":"2018-05-15T15:15:08Z","closed_at":"2018-05-15T15:03:40Z","author_association":"NONE","body":"Reusing css`` code makes my CPU to go up to 300 % permanently. Also, I'm not able to add more parameters to a styled component which is reusing a css snippet. Webstorm freezes.\r\n\r\n```\r\nexport const RegularText = css`\r\n    font-family: ${FontFamily.regular};\r\n    font-size: ${FontSize.text};\r\n`;\r\n```\r\n\r\n```\r\nconst NameText = styled.Text`\r\n    color: white;\r\n    ${RegularText};\r\n`;\r\n```\r\n\r\nIf I type \"<NameText onPress=\" it freezes"},"comment":{"url":"https://api.github.com/repos/styled-components/webstorm-styled-components/issues/comments/389204610","html_url":"https://github.com/styled-components/webstorm-styled-components/issues/46#issuecomment-389204610","issue_url":"https://api.github.com/repos/styled-components/webstorm-styled-components/issues/46","id":389204610,"user":{"login":"undeadcat","id":7509842,"avatar_url":"https://avatars2.githubusercontent.com/u/7509842?v=4","gravatar_id":"","url":"https://api.github.com/users/undeadcat","html_url":"https://github.com/undeadcat","followers_url":"https://api.github.com/users/undeadcat/followers","following_url":"https://api.github.com/users/undeadcat/following{/other_user}","gists_url":"https://api.github.com/users/undeadcat/gists{/gist_id}","starred_url":"https://api.github.com/users/undeadcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undeadcat/subscriptions","organizations_url":"https://api.github.com/users/undeadcat/orgs","repos_url":"https://api.github.com/users/undeadcat/repos","events_url":"https://api.github.com/users/undeadcat/events{/privacy}","received_events_url":"https://api.github.com/users/undeadcat/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T15:15:08Z","updated_at":"2018-05-15T15:15:08Z","author_association":"CONTRIBUTOR","body":"The issue is fixed in 2018.1.4. \r\nEAP builds of Intellij IDEA .1.4 are already [available here](https://confluence.jetbrains.com/display/IDEADEV/IDEA+2018.1+EAP).  \r\nIf you're using WebStorm, a build containing the fix will be available later this week."}}
{"actor":{"display_login":"undeadcat"}}