prettier가 분명히 설치 되어 있는데 작동이 안하는 경우가 있다.
예를 들어 비주얼스튜디오코드 오른쪽 밑에 prettier와 체크표시가 되어 있으면 설치가 되어 있는 상황이다
이러한 경우에는 비주얼스튜디오에서 default formatter를 prettier로 설정을 해 주어야한다.
preferences -> settings -> default formatter를 입력 -> none이 되어있다면 prettier로 바꾸어준다
-> 이후 정상적으로 작동하는 것을 볼 수 있다.
'Projcet' 카테고리의 다른 글
Flutter + Spring Security + OAuth2 + JWT, 로그인 후 앱으로 redirect 하는 방법 (0) | 2023.08.23 |
---|---|
Package subpath './lib/tokenize' is not defined by "exports" error (0) | 2022.10.12 |
github 레포지토리 백엔드 프론트엔드 폴더 분리 (0) | 2022.08.13 |
socket.io 에러 socket.io connect 2번 되는 에러 해결 (0) | 2022.08.08 |
Fetch API cannot load localhost:(port&path). URL scheme "localhost" is not supported 에러 (0) | 2022.05.10 |