I have some live templates in Webstorm that I would like to share with my team mates.
I can see that there is a way to export live templates from WebStorm, however, this just seems to do a blanket export of all live templates to a .jar file.
Is there a way to target specific templates, or a specific group of live templates to export, so I don't end up giving my team mates a whole lot of templates that are irrelevant to them?
If not, it would be acceptable if I could export my live templates to some sort of text file instead so that I could remove any irrelevant templates manually.
Also, I have seen some plugins that add live templates to WebStorm. If it is not too difficult to create such a plugin, it would be fine if someone can point me in the right direction on how to do that.
To configure live templates, open the Editor | Live Templates page of the IDE settings Ctrl+Alt+S . On the Live Templates page, you can see all the available live templates, edit them and create new templates. To make finding and editing templates easier, they are split into groups.
The easiest way to do this is to copy the desired .xml from ~/.WebStorm*/config/templates to the target WebStorm config directory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With