카테고리 없음

[Python] __pycache__ 숨기기 VSCode

XEV 2023. 12. 21. 20:18

 

__pycache__ 숨김

 

프로젝트에서 .gitignore에도 추가된 보여질 필요가 없는 "__pycache__"가 VSCode에 나타난다.

 

작업하는데 복잡해 보이기만 하니 숨겨버리자.

 

 

 

해결 방법

File (Code) > Preferences > Settings

"Search": files.exclude

"Add Pattern": **/__pycache__

"OK"

 

 

 

OK 누르니 바로 적용되었다. 편-안

 

 

 

Reference

https://paulnelson.ca/posts/hiding-pycache-files-in-vscode

 

Hiding Pycache Files in VS Code - Paul Nelson

If you’ve been working on Python projects in VS Code, you will notice that __pycache__ folders appear within your project directory and they result in a lot of visual clutter. This post will walk you through getting a little bit more zen back into your e

paulnelson.ca