티스토리 뷰

Cannot format python with prettier.. 이렇게 저렇게 떠서 다음과 같이 해결했다.

ctrl + shift + p => open workspace settings(json)

{
  "python.pythonPath": "",
  "editor.formatOnSave": true,
  "python.formatting.provider": "black",
  "python.linting.pylintEnabled": true,
  "python.linting.enabled": true,
  "python.linting.lintOnSave": true,
  "[python]": {
    "editor.defaultFormatter": "ms-python.python"
  }
}

 

'연습' 카테고리의 다른 글

private repo add remote, clone  (0) 2021.09.09
[Python] seleniumwire 소개  (5) 2021.07.16
[Typescript]: express의 req.user 붙이기  (0) 2021.05.28
[Typescript] nodemon 설정하기  (0) 2021.05.27
[Python] cli에서 '.' 넘기기  (0) 2021.05.20
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/04   »
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 29 30
글 보관함