vscode 打开文件夹时设置忽略指定的文件夹
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
}