zoukankan      html  css  js  c++  java
  • vscode工程目录文件及文件夹摘选

    在工程工作区下新建一个.vscode 文件夹中并新建一个名为“settings.json”的文件,然后在 settings.json 中输入如下内容:

    {
      "search.exclude": {
      "**/node_modules": true,
      "**/bower_components": true,
      },
      "files.exclude": {
      "**/.git": true,
      "**/.svn": true,
      "**/.hg": true,
      "**/CVS": true,
      "**/.DS_Store": true,
      }
     }

    其中"search.exclude"里面是需要在搜索结果中排除的文件或者文件夹,

    "files.exclude"是左侧工程目录中需要排除的文件或者文件夹。

    我们需要将 arch/avr32 文件夹下的所有文件从搜索结果和左侧的工程目录中都排除掉,

    因此在"search.exclude""files.exclude"中输入如图 31.2.8 示内容:

    {
        "search.exclude": {
            "**/node_modules": true,
            "**/bower_components": true,
      "arch/avr32": true,
        },
        "files.exclude": {
            "**/.git": true,
            "**/.svn": true,
            "**/.hg": true,
            "**/CVS": true,
            "**/.DS_Store": true,
            "arch/avr32": true,
        }
    }

     只是在"search.exclude""files.exclude"中加入了: arch/avr32": true,冒号前面的是要排
    除的文件或者文件夹,冒号后面为是否将文件排除, true 表示排除, false 表示不排除。用这种
    方法即可将不需要的文件,或者文件夹排除掉







  • 相关阅读:
    浅谈REST[转]
    linuxyum
    XAMPPAccess denied for user 'root'@'localhost' (using password:YES)....& can't connect to localhost...
    ps aux详细解释【转】
    TOP 10:值得关注的十家云计算公司【转】
    isnull在数据库查询中的应用
    正则匹配代码
    推荐一款生成SQL插入语句的软件
    网页自动刷新
    执行SQL脚本语句判断是否已经存在
  • 原文地址:https://www.cnblogs.com/mouou/p/13577603.html
Copyright © 2011-2022 走看看