使用Vscode排除一些子文件搜索

  1. 打开用户/工作区设置

    • 全局生效 :打开命令面板(Ctrl+Shift+PCmd+Shift+P),搜索并选择 Preferences: Open User Settings (JSON)

    • 仅当前项目生效 :在项目根目录下创建 .vscode/settings.json 文件(如果不存在)。

  2. 添加排除规则

    settings.json 文件中添加以下配置:可隐藏文件,并在搜索时排除

    bash 复制代码
          "files.exclude": {
            "**/apps": true,
            "**/prebuilts": true,
            "**/uboot": true,
            "**/build": true,
          },
          "search.exclude": {
            "**/apps": true,
            "**/prebuilts": true,
            "**/uboot": true,
            "**/build": true,
          }
相关推荐
开发者小天1 小时前
Node.js中Buffer的用法
node.js·编辑器·vim
William.csj1 小时前
VSCode——插件分享:Markdown PDF
vscode·pdf·markdown
霖006 小时前
深入讲讲异步FIFO
笔记·vscode·单片机·嵌入式硬件·学习·fpga开发
WSSWWWSSW14 小时前
vi/vim跳转到指定行命令
编辑器·vim·excel
淮北49415 小时前
STL学习(十一、常用的算数算法和集合算法)
c++·vscode·学习·算法
月光有害15 小时前
PL-0功能拓展及基于VSCode的IDE配置
ide·vscode·编辑器
*wj20 小时前
【linux驱动开发】Vscode + Remote SSH + clangd + bear=内核源码阅读环境搭建
linux·驱动开发·vscode
Chensf20211 天前
用latex+vscode+ctex写毕业论文
vscode·论文·latex·ctex
羚羊角uou1 天前
【Linux】编辑器vim和编译器gcc/g++
linux·运维·编辑器
技术路上的探险家1 天前
Web3:在 VSCode 中基于 Foundry 快速构建 Solidity 智能合约本地开发环境
vscode·web3·智能合约·solidity·foundry