看板 C_and_CPP 關於我們 聯絡資訊
開發平台(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
jerryh001: 檔案路徑的斜線不是\才對嗎 07/27 18:17
james732: 我也有用VSCode,路徑是/沒錯 07/27 19:12
SKTP: VScode路徑是/ 07/28 10:25
Baternest: 設定是對的,展開搜尋的選項 看一下底下的CheckBox 09/29 23:38