Prettier and VSCode

Basic usage of prettier formatter with VSCode Install prettier as your project dependency / dev-dependency (with npm or your desidered repo) Create a file called .prettierrc with basic options to share with your team member and commit it in the root directory of your project If you would like to Read more

VsCode custom snippets

Base configuration VsCode snippets To create a custom vscode code snippets it’s pretty straightforward Navigate inside vscode File -> Preferences -> User Snippets Select the one based in the visibility In this example “new global snippets file” (with ubuntu it’s saved into ~/.config/Code/User/snippets) The following code defines two snippets: when Read more