티스토리 뷰
반응형
올해 어느샌가부터 VSCode에서 저장하면 자동으로 코드를 정렬해주는 Prettier가 작동하지 않았다.
귀찮아서 그냥 쓰고 있었지만, 원인을 알아내고 말았지..
VSCode > Preference (cmd+,) 들어가서 'Default Formatter'를 검색
아래 설정이 null로 되어있을 텐데, 이를 'enbenp.prettier-vscode'로 고쳐준다.
VSCode Prettier 설정하는 방법
[VSCode] Prettier 설정 방법
Prettier는 VSCode에서 코드를 이쁘게 자동으로 정렬해준다. VSCode Extenstion탭에서 검색하여 설치해준 후, 설정 (Preference)에 들어가서 'editor format on save'를 검색, 체크박스에 체크 해준다. 다시 검..
nuggy875.tistory.com
출처 : github.com/microsoft/vscode/issues/108447
반응형
'etc...' 카테고리의 다른 글
[VS Code] Remote-SSH 접속 에러 (+ XHR Failed) (1) | 2022.07.14 |
---|---|
인스타그램 크리에이터스튜디오 빈화면 오류 (2) | 2022.07.09 |
[VSCode] Debugging 에러 : Exception escaped from start_client (0) | 2021.04.26 |
[VS Code] Failed to save '...': Insufficient permissions. Select 'Retry as Sudo' to retry as superuser. (1) | 2021.02.01 |
[VSCode] Prettier 설정 방법 (2) | 2020.11.26 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Machine Learning
- Macbook
- SSH
- 3Dvision
- pytorch
- Object Detection
- GaussianSplatting
- GPU
- CUDA
- Docker
- nerf
- git
- 2-stage Detector
- Python
- nvidia
- Android
- MacOS
- Neural Radiance Field
- Anaconda
- java
- vscode
- ubuntu
- numpy
- Computer Vision
- nginx
- Novel View Synthesis
- MySQL
- error
- 우분투
- Deep Learning
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함