您的位置: 首页 > 攻略 > VScode阅读Linux内核源码时路径屏蔽怎么设置

VScode阅读Linux内核源码时路径屏蔽怎么设置

时间:2026-04-11 17:49:47
  • 来源:网络
  • 作者:未知
  • 编辑:小锤子
0

VScode阅读Linux内核源码时路径屏蔽怎么设置呢?一些小伙伴对于具体的设置方法还不是很了解,本文整理了详细的设置教程分享,快一起来看看下面的详细介绍吧!

VScode阅读Linux内核源码时路径屏蔽怎么设置

一、VScode文件/文件夹屏蔽方法

使用Ctrl+Shift+P打开设置,选择打开工作区设置:

VScode阅读Linux内核源码时路径屏蔽怎么设置

接着在JSON文件中,使用files.exclude去除不包含的文件,true表示屏蔽,false表示保留。

VScode阅读Linux内核源码时路径屏蔽怎么设置

二、设置文件

主要屏蔽内核源码arch目录下不使用的架构文件:

{     "files.exclude": {         "arch/alpha":true,         "arch/arc":true,         "arch/arm64":true,         "arch/[b-z]*":true,         "arch/arm/configs/[a-h]*":true,         "arch/arm/configs/[j-z]*":true,         "arch/arm/mach-[a-h]*":true,         "arch/arm/mach-[j-z]*":true,     } }

使用VScode阅读Linux内核源码时的路径屏蔽设置。

软件下载

vscode中文版

大小:98.57MB

版本:1.95.1

语言:简中

更新:2025-12-18

相关内容

编辑推荐