About Us

our story

First, install Prettier globally as node package: npm install -g prettier. You can install Prettier for every project individually too, but since Prettier should become second nature eventually, make it easier for yourself and install it to your globally installed npm packages. Second, install Prettier as VS Code extension. Once you have installed it, you can use it with CTRL + CMD + P (MacOS) or CTRL + Shift + P (Windows) to manually format a file or a selection of code. You should have an opened file to perform it. If you don’t want to format your file manually every time, you can format it on save as well. Therefore you need to open your Visual Studio Code User's settings/preferences as JSON and put in the following configuration: