📜  vsc 如何创建多个存储库 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:15.028000             🧑  作者: Mango

代码示例1
If you have a workspace like this:
- main repository
    - other repository

If you add that other repositories folder to your workspace, in `.code-workspace` VSC will place the following:
```
"folders": [
    {
        "path": "."
    },
    {
        "path": "very\\nice\\sub-folder"
    }
]
```

VSC somehow decides to stop looking for the other repositories after it found one in the path `.` AKA your root folder.

So simply putting the root folder underneath your subfolders will fix it.

Like so:
```
"folders": [
    {
        "path": "very\\nice\\sub-folder"
    },
    {
        "path": "."
    }
]
```