How to use Prettier in VS Code - Code Formatting

Опубликовано: 12 Январь 2022
на канале: Coding With Adam
309,359
3.6k

In this video I will show you how to install and configure Prettier Code Formatter in VS Code. Formatting code consistently can be a challenge, particularly when working on a team. Code formatters like prettier can help solve this issue. Consistent code formatting helps with the readability of a project.

Learn how to setup VS Code to format code whenever a file is saved or code is pasted into VS Code.

Learn how to configure Prettier using a JSON configuration file .prettierrc

Learn the difference between VS Code user settings and VS Code workspace settings.

If you are having trouble getting prettier to work uninstall Prettier Code Formatter extension and follow this video.

Prettier Configuration
https://prettier.io/docs/en/configura...

Prettier Settings Options
https://prettier.io/docs/en/options.html

Prettier extension
https://marketplace.visualstudio.com/...


Смотрите видео How to use Prettier in VS Code - Code Formatting онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Coding With Adam 12 Январь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 309,359 раз и оно понравилось 3.6 тысяч людям.