I have been working with Angular 4x and TypeScript in Webstorm a lot lately and have been guilty of the occasional sloppy import statement. If you found this article, you are probably doing the same thing. Because adding spaces between the import and braces is super tedious, I took some time to find a solution.

I can’t take all of the credit for this. Some awesome people posted the solution for JS imports on stackoverflow. At the very minimum, I am creating this post so I have something to reference later on as well.