Visual Studio Code: .git folder/file hidden

后端 未结 6 1383
迷失自我
迷失自我 2021-01-30 02:20

I am trying Visual Studio Code at this moment. Everything about Visual Studio Code look really cool to me except one thing: .git folder/file is hidden in Visual Studio C

6条回答
  •  甜味超标
    2021-01-30 02:34

    By default Visual Studio Code excludes files in a folder using the following settings:

    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/.DS_Store": true
    }
    

    You can change your user settings or workspace settings to show the .git folder by adding these lines:

    "files.exclude": {
         "**/.git": false
    }
    

提交回复
热议问题