Are you using Prettier? (how to set up in VSCode to format on save)

Are you using Prettier? (how to set up in VSCode to format on save)

Full Stack Zach

1 год назад

104,294 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

VikSil
VikSil - 09.09.2023 00:03

I googled 'how to add prettier to user settings' and got a video that says: "Go ahead and google that if you cannot find it".
Here's a free comment - you're welcome for the engagement.

Ответить
LOL
LOL - 25.08.2023 18:15

helpful… THX

Ответить
smile
smile - 11.05.2023 16:02

another way to do this is: go to settings > search "default formatter" > select "prettier"

Ответить
FavoriteVideos
FavoriteVideos - 17.04.2023 09:29

be faster next time

Ответить
Lachee
Lachee - 17.04.2023 04:10

Definitely? Prettier? That's a very opinionated view.

Due to the nature of prettier (being a OPINIONATED formatter), it's a personal choice. I very much DONT recommend ever using it.

Ответить
Oscar Knap
Oscar Knap - 09.04.2023 15:36

VSCode has formatting built in, even on save. You don't need prettier for that. Prettier is just an extension that formats your code in a specific way

Ответить
guest
guest - 16.02.2023 11:59

What if you don’t have a .prettierrc file in your workspace, will it still work?

Ответить