Extension of the Week: Prettier

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

prettier is the extension of every day, wdym

wasd
Автор

Yeah it's amazing...
Until you want something formated differently - which is always.

shapelessed
Автор

Extension of the week is obviously deserved but it needs a lifetime achievement award TBH

bradkovach
Автор

I don't know why this channel is not getting any attention

thereisnoname
Автор

thx I was struggeling to switch html formater to prettier... and this command was helpfull @lang:html default formatter if you selected html formater by clicking on it when you press ctrl + shift + p and then click on 'document formater'.

DMT
Автор

But it don't format predecessor directive in c++

MrNams
Автор

I really dont click with prettier at all. Wanted to give it another chance yesterday - after almost none of my editor settings changed anything at all I tried configuring it via the config file for a workspace and it messed up even more like breaking every line after 80 characters(?!) even changing the setting didnt do anything. The testfile I used lost sooo much readability because of that. and all that because vscode default formatted cant live with chained methods in new lines lol. no more autoindenting the whole file for me then

thatcipher
Автор

Dont activate this if you dont want conflict in git 😂 or must have all teammates

KorlerUlkesindekiTekGozluAdam
Автор

Спасибо огромное 40 минут не мог выяснить почему у меня не работает❤❤

_ubrem_
Автор

Still don’t understand how you set prettier as the default formatted you move to quickly

TheBlackmanIsGod
Автор

That’s why it didn’t work, never set it as default

TheBoab
Автор

No need when you use format on save :)))

donathmm
Автор

Is AI will replace programmers?... we don't talk about software engineer.

muamel
Автор

Prettier does not respect my indentation setting. It very commonly formats HTML indentation poorly and it adds closing slashes to void elements - which is not a thing in HTML. The built in formatter is superior, unless you spend a long time configuring. And in any case, nicely styled code is sometimes simply not possible with simple automatic rules, you have to judge the situation by hand case by case. Would not recommend.

JoelPeltonen
Автор

idk what the hell im doing wrong but i cant get this thing to work

jamesalphonse