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

[KI] Devfile v2 does not allow inclusion of theia plugins in the workspace

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 3.0.0.GA
    • 3.0.0.GA
    • docs
    • None
    • False
    • None
    • False
    • Hide
      = Devfile no longer supports Visual Studio Code extensions

      In {prod-short} {prod-ver}, using the workspace devfile to specify Visual Studio Code extensions has been removed to meet the link:https://devfile.io/docs/2.1.0/overview[devfile v2 specification]. Bug fixes and support are provided only through the end of the {prod-prev-short} {prod-prev-ver} lifecycle. To specify Visual Studio Code extensions, users must now use `.vscode/extensions.json` or `.che/che-theia-plugins.yaml` in their Git repositories. See link:https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.0/html/user_guide/adding-visual-studio-code-extension[] for more information.
      Show
      = Devfile no longer supports Visual Studio Code extensions In {prod-short} {prod-ver}, using the workspace devfile to specify Visual Studio Code extensions has been removed to meet the link: https://devfile.io/docs/2.1.0/overview [devfile v2 specification]. Bug fixes and support are provided only through the end of the {prod-prev-short} {prod-prev-ver} lifecycle. To specify Visual Studio Code extensions, users must now use `.vscode/extensions.json` or `.che/che-theia-plugins.yaml` in their Git repositories. See link: https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.0/html/user_guide/adding-visual-studio-code-extension [] for more information.
    • Documented as Feature Request

    Description

      As discussed on today's Cabal, the current process for testing w/ devfile v2 won't work as devfile doesn't support Theia vscode extensions.

      Instead we need to rely on a .vscode/extensions.json or a .che/che-theia-plugins.yaml in the project's git repository.

      Florent's blog shows how to do this.
      See https://che.eclipseprojects.io/2021/06/23/@florent.benoit-devfile-v2-and-ide-plug-ins.html

      For Che and Dev Spaces, we should document a KI that devfile v2 does NOT support inclusion of ide plugins, where this was possible in devfile v1 spec, and link to the doc about how to use a .vscode/extensions.json or a .che/che-theia-plugins.yaml files to specify IDE plugins:

      Attachments

        Activity

          People

            rhn-support-mleonov Max Leonov
            nickboldt Nick Boldt
            Max Leonov Max Leonov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: