Filter files shown in Visual Studio Code

前端 未结 3 799
醉酒成梦
醉酒成梦 2020-12-28 12:38

How would you filter files shown in folder view in Visual Studio Code?

Reference: Filter files shown in folder view

3条回答
  •  猫巷女王i
    2020-12-28 13:36

    If you only want to change the setting for this project, then do the following:

    File > Save Workspace As > ... enter your {project name}

    Then open file: {project name}.code-workspace And update section settings.

    Sample:

    {
        "folders": [
            {
                "path": "."
            }
        ],
        "settings": {
            "files.exclude": {
                "**/*.log": true
            }
        }
    }
    

提交回复
热议问题