Extension of the Week: Prettier

แชร์
ฝัง

ความคิดเห็น • 35

  • @wasd3108
    @wasd3108 ปีที่แล้ว +39

    prettier is the extension of every day, wdym

    • @worldoftulen5338
      @worldoftulen5338 ปีที่แล้ว

      I never used it and don't know why it's everywhere. Can u explain, is prettier better than default vscode formatter? And why?

    • @wasd3108
      @wasd3108 ปีที่แล้ว +1

      @@worldoftulen5338 because you write a config file and you can also combine it with eslint, and everyone using that project will have the same formatting
      if you push crlf or tab spacing i will end your career xD

    • @lastspoil5547
      @lastspoil5547 8 หลายเดือนก่อน

      LOL

  • @lastspoil5547
    @lastspoil5547 8 หลายเดือนก่อน +2

    OMG. THIS IS LIFE CHANGING!

  • @shapelessed
    @shapelessed ปีที่แล้ว +16

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

    • @GrantTimmerman
      @GrantTimmerman 6 หลายเดือนก่อน +1

      Then set your custom settings in the prettier config file

  • @bradkovach
    @bradkovach 5 หลายเดือนก่อน

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

  • @zohidjonmarufov2008_
    @zohidjonmarufov2008_ 6 หลายเดือนก่อน +1

    + several years to my life

  • @bullymaguirevideos7063
    @bullymaguirevideos7063 ปีที่แล้ว +3

    Yeah prettier is awesome

  • @joaovitor.024
    @joaovitor.024 7 หลายเดือนก่อน

    One of the best! Nice video. :)

  • @atch
    @atch 6 หลายเดือนก่อน +9

    bro ctrl+f is searching shortcut

  • @thereisnoname2052
    @thereisnoname2052 ปีที่แล้ว +1

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

  • @phacesystems6986
    @phacesystems6986 5 หลายเดือนก่อน

    Thank you

  • @zaneferns9576
    @zaneferns9576 8 หลายเดือนก่อน

    Prettier code formatting is the best

  • @cesarcalderon2499
    @cesarcalderon2499 6 หลายเดือนก่อน

    Hahaha i need this so bad.

  • @D369MT
    @D369MT 10 หลายเดือนก่อน

    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'.

  • @MrNams
    @MrNams 5 หลายเดือนก่อน

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

  • @donathmm3881
    @donathmm3881 ปีที่แล้ว

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

  • @TheBoab400
    @TheBoab400 ปีที่แล้ว

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

  • @thatcipher
    @thatcipher 6 หลายเดือนก่อน

    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

  • @KorlerUlkesindekiTekGozluAdam
    @KorlerUlkesindekiTekGozluAdam 7 หลายเดือนก่อน +1

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

  • @_ubrem_
    @_ubrem_ 8 หลายเดือนก่อน

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

  • @xxlarrytfvwxx9531
    @xxlarrytfvwxx9531 ปีที่แล้ว

    Is there one for auto commenting?

  • @TheBlackmanIsGod
    @TheBlackmanIsGod 8 หลายเดือนก่อน

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

  • @savire.ergheiz
    @savire.ergheiz 9 หลายเดือนก่อน

    It will messed up codes 😂

  • @muamel1
    @muamel1 ปีที่แล้ว +2

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

  • @JoelPeltonen
    @JoelPeltonen ปีที่แล้ว +1

    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.

  • @jamesalphonse1099
    @jamesalphonse1099 8 หลายเดือนก่อน

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

    • @jonathanvioleta3578
      @jonathanvioleta3578 3 หลายเดือนก่อน

      Yeah i did also the same, Selecting prettier as default formatter, format on save ticked.. Even in json says it sets on true, ctrl + s not working at all