Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3947

Cloned projects are not visible in File Explorer of VS Code IDE

XMLWordPrintable

    • False
    • None
    • False
    • User Experience

      Description of problem:

      When creating a workspace through URL using a Devfile that specifies multiple git repositories, VSCode IDE only displays one repository in the file explorer.

      Users are expected to see multiple Git repositories displayed in the VSCode IDE, but only one repository is visible in the File Explorer.

      All repositories specified in the Devfile are cloned and are accessible in the underlying file system. They can still be utilized and manipulated through the command line interface, but only one repository is accessible in the File Explorer of VS Code.

      This bug affects the user experience of this product.

      Steps to Reproduce

      1. Create a repository with devfile.yaml
      2. Create a workspace using this devfile and check cloned repositories and file explorer of VS Code where is visible only one repository.
      schemaVersion: 2.1.0
      metadata:
        name: multi-repository-project
      projects:
        - git:
            remotes:
              origin: 'https://github.com/example/http-server.git'
          name: http-server
        - git:
            remotes:
              origin: 'https://github.com/example/http-content.git'
          name: http-content
      ...

      Actual results:
      Only one repository is visible in the File Explorer of the VS Code.

      Expected results:
      It is expected to have visible all cloned repositories in the File Explorer of VS Code.{}

      Reproducibility: always

      Additional info:
      There is a manual workaround to add the additional repositories by selecting them from the "Add Folder to Workspace" function in the Explorer view of the VSCode IDE.

              azatsary Artem Zatsarynnyi
              rhn-support-rludva Radomir Ludva
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: