I'm having way too much fun with @WebStormIDE live templates this morning 
rcstory: Generate boilerplate for a React component Storybook story (notice the import/naming is derived from the "-stories.js" filename).
Automate all the things!!pic.twitter.com/edHtn1Pzo8
Can you please check that `styled-components` is listed as a dependency in package.json and that the Missing import statement inspection is enabled in Preferences | Editor | Inspections.
-
-
Styled components is in my package.json and the missing import statement inspection is indeed enabled, missing imports work fairly well with what's in my src folder but not my node_modules
-
You use WebStorm 2018.3, right? What styled-components version do you have?
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
(type the thing that is not imported and it's magically imported)
)