Webstorm: Autocomplete Function Set Up Completely?

Hi,

When I begin to type function, the autocomplete will offer to finish typing the word 'function', but it does not offer to add the parens or the closure.

In this WebStorm Youtube video, around 2:44 the narrator has his function autocompletes set up the parens, closure, return, and indentation.  How can I do the same?

Also, when using Karma with Webstorm, is there a way I can have my tests 'Expand All' automatically by default?

Thanks!

2 comments

Hi there,

It's called Live Templates. You can find list of all bundled live templates or create your own at "Settings | Live Templates"

http://blog.jetbrains.com/webide/2012/10/high-speed-coding-with-custom-live-templates/

0

Please sign in to leave a comment.