[問題] VS code search.exclude沒作用
開發平台(Platform): (Ex: Win10, Linux, ...)
win10
編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出)
vs code
問題(Question):
因為build程式之後會有其他*.i *.s *.o等等檔案,可是我只想搜尋*.c *.h,
我在設定裡面設定這些
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.s": true,
"**/*.i": true,
"**/*.o": true,
"**/*.d": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/*.s": true,
"**/*.i": true,
"**/*.o": true,
"**/*.d": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.s": true,
"**/*.i": true
}
其中files.exclude有成功,在檔案總管那邊看不到多餘的檔案,
而用search功能的時候,還是會跑出*.i *.s檔案,請問是哪裡有錯誤嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 211.21.159.187
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1501135154.A.F58.html
推
07/27 18:17, , 1F
07/27 18:17, 1F
推
07/27 19:12, , 2F
07/27 19:12, 2F
→
07/28 10:25, , 3F
07/28 10:25, 3F
→
09/29 23:38, , 4F
09/29 23:38, 4F