이렇게 하시면 됩니다.
네, File > Preferences > Settings 에서 file.exclude 에 필요한 디렉토리를 넣으시면 됩니다.
검색란에 file.exclude
라고 찾아보아도 되고, json 편집 모드로 열어서 직접 입력해도 됩니다.
files.exclude
file.exclude
은 검색과 변경추적에서 모두 제외됩니다. 만일 어느 한쪽만 제외하고 싶다면, search.exclude나 files.watcherExclude를 사용하셔야 합니다.
현재의 workspace(디렉토리로 열었을 때의 root디렉토)에 .vscode 파일이 하나 생성되는데, 그 안에 다음과 같은 설정이 생깁니다.
그 안에 보고 싶지 않은 디렉토리의 이름을 직접 추가해도 됩니다.
|
|
서브디렉토리에서도 en이라는 이름의 디렉토리를 제외하고 싶다면 “**/en” 과 같은 형식으로 쓰셔야 합니다.
search.exclude
"search.exclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist/**": true,
"**/log/**": true
},
files.watcherExclude
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist/**": true,
"**/log/**": true,
"**/logs/**": true,
"**/.fdk/**": true
},
files.autoSave
자동저장은 언제나 켜둡니다
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 5000,
editor.minimap.enabled
미니맵은 대게의 경우 꺼둡니다.
"editor.minimap.enabled": false