[問題] VS code search.exclude沒作用

看板C_and_CPP作者 (Yi)時間6年前 (2017/07/27 13:59), 編輯推噓2(202)
留言4則, 4人參與, 最新討論串1/1
開發平台(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
我也有用VSCode,路徑是/沒錯
07/27 19:12, 2F

07/28 10:25, , 3F
VScode路徑是/
07/28 10:25, 3F

09/29 23:38, , 4F
設定是對的,展開搜尋的選項 看一下底下的CheckBox
09/29 23:38, 4F
文章代碼(AID): #1PUO4ozO (C_and_CPP)