1. 在.vscode文件夹下找到文件settings.json 2. 打开后添加如下两行 "search.exclude":{}, "files.exclude":{} 3.分别在两个大括号中添加相应的文件后保存即可 "search.exclude":{ "**/flexspi_nor_debug":true, "**/流程图":true, "**/output":true, "**/Debug":true, "**/display_file":true, "**/script":true, "**/**.xlsx":true, "**/**.doc":true, "**/**.pdf":true, "**/**.doc":true, "project.**":true } "files.exclude":{ "**/flexspi_nor_debug":true, "**/流程图":true, "**/output":true, "**/Debug":true, "**/display_file":true, "**/script":true, "**/**.xlsx":true, "**/**.doc":true, "**/**.pdf":true, "**/**.doc":true, "project.**":true }
标签:vscode,doc,忽略,文件夹,file,exclude,true From: https://www.cnblogs.com/clive-ccc/p/17958516