visual-studio-code

VS Code: Add single file (README) to multi-root workspace


You can configure a vs-code multi-root workspace to include several folders. Eg,

{
  "folders": [
    {
      // Source code
      "name": "Product",
      "path": "vscode"
    },
    {
      // Docs and release notes
      "name": "Documentation",
      "path": "vscode-docs"
    }
  ]
}

I would also like to include a README file from a root directory that pertains to all those folders. Is there a way to do this?


Solution

  • This isn't supported in Visual Studio Code. There's a GitHub issue that's been open for this feature since 2018.