Guest User

Untitled

a guest
Jan 16th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. # intellij javascript live templates
  2.  
  3. Just a dump of handy live templates I use with **IntelliJ**.
  4. They should also work with **WebStorm**.
  5.  
  6. ## How to
  7.  
  8. - Go to `settings`.
  9. - Search for `live templates`.
  10. - Under the javascript section you should be able to manage your templates.
  11.  
  12. For each template in this gist:
  13.  
  14. - create new template
  15. - fill `abbrevation` with the `@abbr` value.
  16. - fill `description` with the `@desc` value.
  17. - copy/paste the code.
  18. - click on edit variables
  19. - for each variable:
  20. - fill `expression` with the `{}` value of the `@param`.
  21. - fill `default value` with the `[]` value of the `@param`.
  22.  
  23. ## Contribute
  24.  
  25. Feel free to enhance or add new live templates.
  26. Also feel free to host an export `jar` file and link it here :)
Add Comment
Please, Sign In to add comment