zoukankan      html  css  js  c++  java
  • vsCode--设置显示文件和搜索过滤

    文件位置:文件(File)-首选项(Preference)-设置(setting)

    打开setting.json文件输入一下内容即可

    {
        "search.exclude": {        
            "**/node_modules": true,
            "**/bower_components": true,
            "build/": true,
            "temp/": true,
            "library/": true,
            "**/*.anim": true
        },
        "files.exclude": {
            "**/node_modules": true,
            "**/.git": true,
            "**/.DS_Store": true,
            "**/*.meta": true,
            "library/": true,
            "local/": true,
            "temp/": true    
        }
    }
    

    上面的字段将为 VS Code 设置搜索时排除的目录,和在文件列表中隐藏的文件类型。由于 build, temp, library 都是编辑器运行时自动生成的路径,而且会包含我们写入的脚本内容,所以应该在搜索中排除。而 assets 目录下的每个文件都会生成一个 .meta 文件,一般来说我们不需要关心他的内容,node_modules文件较大, 我一般也隐藏掉, 如果不需要的话, 可以不设置此项

  • 相关阅读:
    Jenkins
    python爬虫
    git分布式版本控制
    CKA考试认证总结
    gitlab-ci 工具链
    gitlab-ci 模板库实践
    gitlab-cicd
    gitlab配置文件gitlab.rb详解
    局部变量表中的slot简述
    JVM系统线程类型
  • 原文地址:https://www.cnblogs.com/sllzhj/p/11702735.html
Copyright © 2011-2022 走看看