Just a dump of handy live templates I use with IntelliJ. They should also work with WebStorm.
- Go to
settings. - Search for
live templates. - Under the javascript section you should be able to manage your templates.
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |