# Visual Studio Code

Cover image

How to create and use code snippets in VsCode

Some time ago I didn't understand what is code snippet and why I should use them. But when I started writing a lot of unit tests I understood how snippets can simplify my life. In this small article I will show you how to automate writing JS unit tests using snippets.

Prettier is code formatter which can format your code automatically on file save. It can not only format, but fix code according to your eslint or tslint rules.