본문 바로가기

에러

VSCode 에서 prettier 설정이 안될때

 

  1. 명령어 팔레트 창(Ctrl + Shift + P 혹은 Cmd + Shift + P)을 열어서  Format Document With 라고 검색한다.
  2. 그리고 디폴트 포맷터 설정으로 Prettier - Code formatter 를 선택하여 저장한다.

 

출처)
https://stackoverflow.com/questions/52586965/why-does-prettier-not-format-code-in-vs-code