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

[RN] Allow users to configure VS Code workspaces with a `.code-workspaces` file

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Configuring workspaces with `.code-workspaces` file

      With this update, developers can use the `.code-workspace` file to configure the workspaces in Microsoft Visual Studio Code - Open Source. Specify the `.code-workspaces` file for your project in the devfile with the environment variable `VSCODE_DEFAULT_WORKSPACE`:

      [source, yaml]
      ----
      schemaVersion: 2.2.0
      (...)
      components:
      - name: dev-tools
        container:
          (...)
          env:
          - name: VSCODE_DEFAULT_WORKSPACE
            value: "/projects/che-demo-app/che-demo.code-workspace"
      ----
      Show
      = Configuring workspaces with `.code-workspaces` file With this update, developers can use the `.code-workspace` file to configure the workspaces in Microsoft Visual Studio Code - Open Source. Specify the `.code-workspaces` file for your project in the devfile with the environment variable `VSCODE_DEFAULT_WORKSPACE`: [source, yaml] ---- schemaVersion: 2.2.0 (...) components: - name: dev-tools   container:     (...)     env:     - name: VSCODE_DEFAULT_WORKSPACE       value: "/projects/che-demo-app/che-demo.code-workspace" ----
    • Enhancement
    • Done

      This Jira is used for the enhancement release notes for the issue https://github.com/eclipse/che/issues/22218

            Unassigned Unassigned
            mloriedo Mario Loriedo
            Maksym Musienko Maksym Musienko
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: